aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-05-12 19:40:57 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-05-12 19:41:29 +0530
commitb2b815899bd0ac3df5ceb619c6019ea737eb633d (patch)
tree5fb1bba0071be79e7c5707286916d00ba18be17a /activerecord/lib/active_record/core.rb
parent2c8b4a514c515be2679923935a449c6f001b55a1 (diff)
downloadrails-b2b815899bd0ac3df5ceb619c6019ea737eb633d.tar.gz
rails-b2b815899bd0ac3df5ceb619c6019ea737eb633d.tar.bz2
rails-b2b815899bd0ac3df5ceb619c6019ea737eb633d.zip
fixes a nodoc which swallowed the documentation for the rest of the methods [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/core.rb')
-rw-r--r--activerecord/lib/active_record/core.rb3
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)