From: Luke Grimstrup Date: 2008-06-04T20:18:55+09:00 Subject: Re: Mering an array of hashes Close, but not quite. Here's an example: hash #1: [{:name=>"File1.rar", :id=>"a3d80425a51a3a4cb2d7a3201439ef6cc3af5874"}, {:name=>"File2.avi", :id=>"58a658047ccb7333eb812da02dca9d84c1db2b41"}, {:name=>"File3.avi", :id=>"944f6a7c50a4a5cff0c28cb0f9158b16580b0310"}] hash #2 [{:name=>"File2.avi", :other_attributes =>"(350 MiB) - 2.85% downloading at 0.00 B/s (UL at 0.00 B/s), stalled [error (tracker-warning) - Tracker hasn't responded yet. Retrying...]"}, {:name=>"File1.rar", :other_attributes=>" (26.6 MiB) - 100% seeding at 0.00 B/s [0.23]"}, {:name=>"File3.avi", :other_attributes=>"(35.5 MiB) - 0.86% downloading at 0.00 B/s (UL at 0.00 B/s), stalled"}] Note that the hashes I want to merge aren't necessarily at the same index. -- Posted via http://www.ruby-forum.com/.