method

raw_write_attribute

rails latest stable - Class: ActiveRecord::AttributeMethods::Write

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

raw_write_attribute(attr_name, value)
public

No documentation available.

# File activerecord/lib/active_record/attribute_methods/write.rb, line 43
      def raw_write_attribute(attr_name, value) # :nodoc:
        name = attr_name.to_s
        @attributes.write_cast_value(name, value)
        value
      end