instance method
initialize_dup
Ruby on Rails 3.2.22.5
Since v3.2.22.5 Last seen in v3.2.22.5Signature
initialize_dup(other)
No documentation comment.
Parameters
-
otherreq
Source
# File activerecord/lib/active_record/timestamp.rb, line 40
def initialize_dup(other)
clear_timestamp_attributes
super
end
Defined in activerecord/lib/active_record/timestamp.rb line 40
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Timestamp