X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3e99bbf5a9e124a59fc5ae72c863e89af7fa8c46..1031af317729ac345aed271d9a9b5c73fe62e10b:/db/migrate/006_tile_nodes.rb 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