method

clone_attribute_value

clone_attribute_value(reader_method, attribute_name)
protected

No documentation available.

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