Where can I download the rails migration file for country, state and city table
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look for ISO 3166. The ISO lists are here.
The country select is now outside of rails core in order to sidestep political issues (China – Taiwan and so forth) so you’ll need a plugin, such as this one, to give you the functionality.
I’ve never heard of a migration that would populate a table with this data.