Permalink
Browse files

fixes a nodoc which swallowed the documentation for the rest of the m…

…ethods [ci skip]
  • Loading branch information...
1 parent 2c8b4a5 commit b2b815899bd0ac3df5ceb619c6019ea737eb633d @vijaydev vijaydev committed May 12, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 activerecord/lib/active_record/core.rb
@@ -232,8 +232,7 @@ def init_with(coder)
# 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)

0 comments on commit b2b8158

Please sign in to comment.