lib/mongoid/timestamps/updated.rb in mongoid-2.0.2 vs lib/mongoid/timestamps/updated.rb in mongoid-2.1.0

- old
+ new

@@ -24,10 +24,10 @@ # This is only called on create and on save. # # @example Set the updated at time. # person.set_updated_at def set_updated_at - self.updated_at = Time.now.utc + self.updated_at = Time.now.utc unless self.updated_at_changed? end end end end