I use simple_form
gem to select country:
= simple_form_for @shop, :url => { :action => "create" }, :html => {:id => 'new_shop' } do |f|
= f.simple_fields_for :address, :html => {:multipart => true} do |o|
= o.input :country, :label => "Country"
But the name of the country is being saved in short format in the database (like RU
, FR
, AU
, and so on).
I wonder, how can I show the full, long name of the country in the views? Thanks!