Method: ActiveRecord::AttributeMethods::Query#_query_attribute
- Defined in:
- activerecord/lib/active_record/attribute_methods/query.rb
#_query_attribute(attr_name) ⇒ Object
:nodoc:
19 20 21 22 23 |
# File 'activerecord/lib/active_record/attribute_methods/query.rb', line 19 def _query_attribute(attr_name) # :nodoc: value = self._read_attribute(attr_name.to_s) query_cast_attribute(attr_name, value) end |