From: Rodrigo Lueneberg Date: 2013-06-29T02:21:44+09:00 Subject: Find elment in array of hashes array = {:id=>1, :price =>0.25} # index[0] {:id=>2, :price =>0.35} # index[1] {:id=>3, :price =>0.25} # index[2] I am beginning to adventure in Ruby and I need to find in this array of hashes the id with the value of 3 and get its price. What would be the easiest way to do it? Thanks -- Posted via http://www.ruby-forum.com/.