diff options
Diffstat (limited to 'lib/mauve/history.rb')
-rw-r--r-- | lib/mauve/history.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/history.rb b/lib/mauve/history.rb index bcdd41a..1e683d2 100644 --- a/lib/mauve/history.rb +++ b/lib/mauve/history.rb @@ -111,7 +111,7 @@ module Mauve # Update the created_at time on the object # def do_set_created_at(context = :default) - self.created_at = Time.now unless self.created_at.is_a?(Time) + self.created_at = Time.now if self.new? end public |