]> git.openstreetmap.org Git - rails.git/blobdiff - lib/tasks/add_version_to_nodes.rake
Merge remote-tracking branch 'openstreetmap/pull/954'
[rails.git] / lib / tasks / add_version_to_nodes.rake
index 0573304182f01159b3469763a98dc3b29bd19264..11f639abd191a123d0b9db061b1631dbe38cc980 100644 (file)
@@ -28,7 +28,7 @@ namespace "db" do
           temp_old_node.timestamp = node.timestamp
           temp_old_node.tile = node.tile
           temp_old_node.version = n
-          temp_old_node.save! || fail
+          temp_old_node.save! || raise
           n += 1
         end
       end