From: Joel Pearson Date: 2012-11-06T22:33:44+09:00 Subject: Re: How to merge two or more hashes in to one? Off the top of my head I'd just do this: foo.each do |one,two| foo[one] << bar[one] foo[one].flatten! foo[one].uniq! end -- Posted via http://www.ruby-forum.com/.