]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
Fixed up name search and postcode search
[rails.git] / app / models / node.rb
index 0df3689e274b0b13d4a00ad12114eac2c130fe80..1288503b92b3d34ca617b67984c755e03369ee71 100644 (file)
@@ -61,6 +61,7 @@ class Node < ActiveRecord::Base
   def save_with_history
     begin
       Node.transaction do
   def save_with_history
     begin
       Node.transaction do
+        self.timestamp = Time.now
         self.save
         old_node = OldNode.from_node(self)
         old_node.save
         self.save
         old_node = OldNode.from_node(self)
         old_node.save