method
initialize_dup
v4.2.7 -
Show latest stable
- Class:
ActiveRecord::Attribute
initialize_dup(other)protected
No documentation available.
# File activerecord/lib/active_record/attribute.rb, line 90
def initialize_dup(other)
if defined?(@value) && @value.duplicable?
@value = @value.dup
end
end