Hi,


i am using countries gem for my application i what state in
particuller which comes like

{"RK"=>{"name"=>"Ra’s al Khaymah", "names"=>"Ra’s al Khaymah"},
"AZ"=>{"name"=>"Abu Z¸aby [Abu Dhabi]", "names"=>["Abu Zabi", "Abu
Zaby", "Ab\xC5\xAB Z\xCC\xA8ab\xC4\xAB", "Abu Dhabi", "Abu Dhabi"]},
"FU"=>{"name"=>"Al Fujayrah", "names"=>"Al Fujayrah"},
"UQ"=>{"name"=>"Umm al Qaywayn", "names"=>"Umm al Qaywayn"},
"DU"=>{"name"=>"Dubayy [Dubai]", "names"=>"Dubayy [Dubai]"},
"AJ"=>{"name"=>"'Ajman", "names"=>["Ujman"]}, "SH"=>{"name"=>"Ash
Shariqah [Sharjah]", "names"=>"Ash Shariqah [Sharjah]"}}


i need value of name alone in this array that is only state name how
to get this?

thanks,
-pab

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 22, '11 at 7:15a
activeOct 22, '11 at 2:18p
posts3
users3
websiterubyonrails.org
irc#RubyOnRails

3 users in discussion

Colin Law: 1 post Pab: 1 post Ray Parker: 1 post

People

Translate

site design / logo © 2021 Grokbase