From: Alex Stupakov Date: 2009-12-05T07:22:03+09:00 Subject: Re: Finding an element in an array of hashes Aldric Giacomoni wrote: > > "basically" hashes? That doesn't look like hash syntax to me.. > You're right, my mistake. Thanks for the suggestion, it works great, and for the link. > friends.find { |friend| friend.facebook.id = 12345 } > > http://ruby-doc.org/core/classes/Enumerable.html#M003122 -- Posted via http://www.ruby-forum.com/.