Rails, a solution for cities, countries, states around the world that do not have a database

I need this simple function to fill my forms with an intelligent selection from

States> Country> City.

I can populate the database and I can just use Rails associations, but I don't want to.

Is there a gem solution using WebServices, xml and other dataless solutions and simpler, simpler and simpler?

+3


source to share


1 answer


You can use rubygem called Country

.



https://github.com/hexorx/countries

0


source







All Articles