diff options
-rw-r--r-- | activerecord/lib/active_record/core.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index f5349b0bea..ed555e4bf6 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -232,8 +232,7 @@ module ActiveRecord # The dup method does not preserve the timestamps (created|updated)_(at|on). ## - # :nodoc: - def initialize_dup(other) + def initialize_dup(other) # :nodoc: cloned_attributes = other.clone_attributes(:read_attribute_before_type_cast) self.class.initialize_attributes(cloned_attributes) |