]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way.rb
more way bits
[rails.git] / app / models / way.rb
index 9ae45d40fe07dc5ab123ce645b2d3e30223f4829..55b953ce9439fb40b61c6ea0847b1ca20669733a 100644 (file)
@@ -121,7 +121,7 @@ class Way < ActiveRecord::Base
     end
 
     old_way = OldWay.from_way(self)
-    old_way.save
+    old_way.save_with_dependencies
   end
 
 end