From: Francesco Date: 2005-11-08T03:22:13+09:00 Subject: an array of hashes Hello all! Can this be done better/nicer? In @person i have an array of telephones. telephone is a hash with an id and a number, and i would like to join them. @person.telephones.collect {|x| [] << x.number}.join(', ') I don't know why, but I don't like this line of code... how would you write it?