Storing the countries in the database is overkill, so just use a copy of the geonames countryInfo data that is loaded into a hash the first time it is used.
5 lines
95 B
Ruby
5 lines
95 B
Ruby
class DropCountries < ActiveRecord::Migration
|
|
def change
|
|
drop_table :countries
|
|
end
|
|
end
|