]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way.rb
way stuff, now creates correctly
[rails.git] / app / models / way.rb
index 9ae45d40fe07dc5ab123ce645b2d3e30223f4829..a8724456374be2f339933c6201bcb2bdd8277fe2 100644 (file)
@@ -121,7 +121,8 @@ class Way < ActiveRecord::Base
     end
 
     old_way = OldWay.from_way(self)
-    old_way.save
+    old_way.timestamp = t
+    old_way.save_with_dependencies
   end
 
 end