Merge remote-tracking branch 'upstream/pull/2038'
[rails.git] / lib / tasks / add_version_to_nodes.rake
index 0573304..11f639a 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