From: artificialman Vamshi Date: 2012-04-02T07:58:28+09:00 Subject: array of hashes Hi Newbie how to display the following output? [{ "id" => "1", "value"=>"usa", "label"=>"country"}, { "id" => "2""value"=>"india", "label"=>"country"}, { "id" => "1""value"=>"chicago", "label"=>"city"}, { "id" => "2", "value"=>"delhi", "label"=>"city"}] output id |city | country -------------------- 1 |chicago| usa 2 | delhi | india arti -- Posted via http://www.ruby-forum.com/.