method
query_attribute
rails 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