]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/031_create_countries.rb
Merge branch 'master' into redesign
[rails.git] / db / migrate / 031_create_countries.rb
index cc0627cd291fdc1b064811748b854015aa755653..337e86fde5fd1ba736a28710aaeff1e1f2a39541 100644 (file)
@@ -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