method
_read_attribute
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::Read
_read_attribute(attr_name, &block)public
This method exists to avoid the expensive primary_key check internally, without breaking compatibility with the read_attribute API