method

_write_attribute

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveRecord::AttributeMethods::Write
_write_attribute(attr_name, value) public

This method exists to avoid the expensive primary_key check internally, without breaking compatibility with the write_attribute API

Show source
Register or log in to add new notes.