Bsc Plugin (Brazilian States and Cities Plugin)
This plugin is usefull to brazilian developers. It generate the models Country, State and City and load the database with all brasilians states and all brasilians cities.
Download the plugin
svn co https://svn.colivre.coop.br/svn/rails/plugins/bsc_plugin
Preparing your System
Run the command:
To create the migration file that will contain the definition of country, state and city objects.
Besides upgrade your database (rake db:migrate)
Now the plugin is ready to be used.
HOW TO USE IT
To populate your database with all brasilian staes and cities run the command:
If you want cities of a specific "state", run the command
- 27 Sep 2007