method

_read_attribute

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - 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

Show source
Register or log in to add new notes.