method

clone_attribute_value

clone_attribute_value(reader_method, attribute_name)
protected

No documentation available.

# File activerecord/lib/active_record/attribute_methods.rb, line 210
    def clone_attribute_value(reader_method, attribute_name)
      value = send(reader_method, attribute_name)
      value.duplicable? ? value.clone : value
    rescue TypeError, NoMethodError
      value
    end