method
query_attribute
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::Query
query_attribute(attr_name)public
Returns true or false for the attribute identified by attr_name, depending on the attribute type and value.