method
attribute_cast_code
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
attribute_cast_code(attr_name)protected
The enhanced read method automatically converts the UTC time stored in the database to the time zone stored in Time.zone.