Best way to do a dropdown list of countries in Rails 3

2,238 views
Skip to first unread message

Declan McGrath

unread,
May 21, 2011, 9:51:57 AM5/21/11
to Ruby Ireland
Hi folks,

Just wondering what's a reasonable way to present a dropdown list of
countries to the user in a Rails 3 application.

I know the old country dropdown list in Rails core years ago was
removed (probably for political reasons).

I saw this https://github.com/karmi/localized_country_select which is
probably easy to make work with Rails 3.

But was wondering if there's a better way. Not looking for a fancy
solution. Just trying to avoid a stupid solution.

Regards,
Declan

Paul Campbell

unread,
May 21, 2011, 9:59:00 AM5/21/11
to ruby_i...@googlegroups.com
Declan,

https://github.com/jim/carmen

—P

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

--

Paul Campbell
pa...@hypertiny.ie
- - - - - - - - - - - - - - - - - - -
web http://hypertiny.ie
blog http://www.pabcas.com
twitter http://www.twitter.com/paulca
github http://www.github.com/paulca
phone +353 87 914 8162
- - - - - - - - - - - - - - - - - - -

Declan McGrath

unread,
May 21, 2011, 11:51:54 AM5/21/11
to ruby_i...@googlegroups.com, Paul Campbell
Thanks Paul. That's exactly what I was looking for!

Dec

Reply all
Reply to author
Forward
0 new messages