]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/006_tile_nodes.rb
Update to iD v1.4.0
[rails.git] / db / migrate / 006_tile_nodes.rb
index b56a095a44bee5499085ee9c339cd237e310adcd..91f8acb6b1122cde583febf42ca03f1f70abc4df 100644 (file)
@@ -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