From: Dave Bass Date: 2008-05-28T22:30:01+09:00 Subject: Re: Merge collections of objects Put your employees into a single array. Use the .uniq! method to remove duplicates. C:\> irb irb(main):001:0> arr1 = [ "a", "b", "c" ] => ["a", "b", "c"] irb(main):002:0> arr2 = [ "a", "b" ] => ["a", "b"] irb(main):003:0> arr3 = arr1 + arr2 => ["a", "b", "c", "a", "b"] irb(main):004:0> arr3.uniq! => ["a", "b", "c"] irb(main):005:0> Now make this more compact. :-) -- Posted via http://www.ruby-forum.com/.