From: Joel Pearson Date: 2013-06-29T03:57:47+09:00 Subject: Re: Find element in array of hashes How about this? results = @selectedProductsArray.find {|hash| hash[:id] == 3 } -- Posted via http://www.ruby-forum.com/.