country state city drop down list rails

182 views
Skip to first unread message

ashu

unread,
Aug 20, 2010, 12:37:37 AM8/20/10
to Ruby on Rails: Talk
hi every one
please tell me the recommended way to get country
state city drop down list in rails
any gem - plug-in tutorial

thanks in advance.

Priyanka Pathak

unread,
Aug 20, 2010, 1:00:45 AM8/20/10
to rubyonra...@googlegroups.com
Hi,
There are some plugins available for country selection.
- http://github.com/rails/country_select
For US cities you may use http://github.com/mettadore/geoinfo

--
Posted via http://www.ruby-forum.com/.

rajeevsharma86

unread,
Aug 20, 2010, 1:17:13 AM8/20/10
to rubyonra...@googlegroups.com
I don't think they provide country state and cities Does the
did you ever you any please suggest ..


--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
Thanks:
Rajeev sharma

Stephan Wehner

unread,
Aug 20, 2010, 2:37:33 AM8/20/10
to rubyonra...@googlegroups.com

I think it's fair to say the authority on such a list is
http://www.geonames.org

You can download the data from http://download.geonames.org/export/dump

You'll probably get more cities than you need.

Sorry, I have no plugin / tutorial at the moment.

Stephan

rajeevsharma86

unread,
Aug 20, 2010, 2:42:27 AM8/20/10
to rubyonra...@googlegroups.com
Thanks  Stephan Wehner ,
 but can you tell me a way to implement it

--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
Thanks:
Rajeev sharma

Stephan Wehner

unread,
Aug 20, 2010, 2:46:59 AM8/20/10
to rubyonra...@googlegroups.com
rajeevsharma86 wrote:
> Thanks Stephan Wehner ,

> but can you tell me a way to implement it

I'm really sorry, have no time at the moment.

What coverage are you looking for?

You can see some of the database at http://clocklist.com
"Add your friend or contact"-> City (not with Internet Explorer)

Stephan

>
> On Fri, Aug 20, 2010 at 12:07 PM, Stephan Wehner
> <li...@ruby-forum.com>wrote:
>
>>

>> --
>> 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 rubyonra...@googlegroups.com.
>> To unsubscribe from this group, send email to

>> rubyonrails-ta...@googlegroups.com<rubyonrails-talk%2Bunsu...@googlegroups.com>


>> .
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>>
>
>
> --
> Thanks:
> Rajeev sharma

--
Posted via http://www.ruby-forum.com/.

Reply all
Reply to author
Forward
0 new messages