method
write_attribute
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::Write
write_attribute(attr_name, value)public
Updates the attribute identified by attr_name using the specified value. The attribute value will be type cast upon being read.