X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1cc882b23f161ade83fb94052fa4a43c0caa16d2..255b0b94252b48a9fe4326bb9d9fc4f184308460:/db/migrate/031_create_countries.rb diff --git a/db/migrate/031_create_countries.rb b/db/migrate/031_create_countries.rb index cc0627cd2..337e86fde 100644 --- a/db/migrate/031_create_countries.rb +++ b/db/migrate/031_create_countries.rb @@ -24,11 +24,11 @@ class CreateCountries < ActiveRecord::Migration maxlon = ele.get_text("bBoxEast").to_s maxlat = ele.get_text("bBoxNorth").to_s - Country.create({ + Country.create( :code => code, :min_lat => minlat.to_f, :max_lat => maxlat.to_f, :min_lon => minlon.to_f, :max_lon => maxlon.to_f - }, :without_protection => true) + ) end end end