From: Giant Cranes Date: 2007-02-02T05:49:38+09:00 Subject: Hash.collect Hi, I am pulling my hair out trying to figure out the following problem (my fault not rubys): I have an array of hashes as follows: a = Array.new a << {:name => 'tony', :age => 23} a << {:name => 'mary', :age => 57} a << {:name => 'dom', :age => 17} I am trying to create an array with one attribute from each hash: ['tony', 'mary', 'dom'] Any clues on how I should do this would be much appreciated. Thanks, GiantCranes -- Posted via http://www.ruby-forum.com/.