From: Rodrigo Lueneberg Date: 2013-06-29T08:56:57+09:00 Subject: Re: Find element in array of hashes Joel, I tried your suggestion and I get "nil" as a result. It is a just weird behavior!!! results = @selectedProductsArray.find {|hash| hash[:id] == 3 } # results = nil -- Posted via http://www.ruby-forum.com/.