On Thu, Mar 13, 2014 at 1:26 AM, Anu Sebastian <li...@ruby-forum.com> wrote:
> how to add defult value to the country_select gem.. pls help me
>

I don't know for sure, but I think you can pass in an option:
`:selected => code` where code is the country code.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAHUC_t8n6Dc2fs3N%3Duz5m-M6nCunQWvwmkmnwSBMz5m5vRn-7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to