method
attribute_cast_code
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::Read::ClassMethods
attribute_cast_code(attr_name)private
No documentation available.
# File activerecord/lib/active_record/attribute_methods/read.rb, line 119
def attribute_cast_code(attr_name)
columns_hash[attr_name].type_cast_code('v')
end