X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e660e609661edadc1ed5ad49d6e83e936b2f91cd..758e6da9a80e2e53a171ebc3119f813f8ff4141c:/db/migrate/006_tile_nodes.rb?ds=sidebyside diff --git a/db/migrate/006_tile_nodes.rb b/db/migrate/006_tile_nodes.rb index b56a095a4..91f8acb6b 100644 --- a/db/migrate/006_tile_nodes.rb +++ b/db/migrate/006_tile_nodes.rb @@ -19,7 +19,7 @@ class TileNodes < ActiveRecord::Migration FROM #{from_table} END_SQL - model.find(:all).each do |n| + model.all.each do |n| n.save! end end