method
query_attribute
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::Query
query_attribute(attr_name)public
No documentation available.
# File activerecord/lib/active_record/attribute_methods/query.rb, line 13
def query_attribute(attr_name)
value = self.public_send(attr_name)
query_cast_attribute(attr_name, value)
end