aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-10-16 09:46:44 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-17 22:39:48 -0300
commit9a38e73c631f4358b4863849ec16c84f6c876225 (patch)
treebba083d7b399efe039daa522605b0fe7970aee9a /activerecord/lib
parentd92e66f14c137e112e1e7a714ddcb9dd9f7aec3e (diff)
downloadrails-9a38e73c631f4358b4863849ec16c84f6c876225.tar.gz
rails-9a38e73c631f4358b4863849ec16c84f6c876225.tar.bz2
rails-9a38e73c631f4358b4863849ec16c84f6c876225.zip
Merge pull request #7371 from csmuc/fix_dup_validation_errors
Dup'ed ActiveRecord objects may not share the errors object Conflicts: activerecord/CHANGELOG.md activerecord/test/cases/dup_test.rb
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/timestamp.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/timestamp.rb b/activerecord/lib/active_record/timestamp.rb
index 0c760e9850..ab25dc52f9 100644
--- a/activerecord/lib/active_record/timestamp.rb
+++ b/activerecord/lib/active_record/timestamp.rb
@@ -39,6 +39,7 @@ module ActiveRecord
def initialize_dup(other)
clear_timestamp_attributes
+ super
end
private