title: Merge Ruby arrays
body: <p>I have a few arrays of Ruby objects of class <code>UserInfo</code>:</p>
  
  <pre><code>class UserInfo  
      attr_accessor :name, :title, :age
  end
  </code></pre>
  
  <p>How can I merge these arrays into one array? A user is identified by its name, so I want no duplicate names. If name, title, age, etc. are equal I'd like to have 1 entry in the new array. If names are the same, but any of the other details differ I probably want those 2 users in a different array to manually fix the errors.</p>
  
  <p>Thanks in advance</p>