method

attribute_cast_code

Importance_1
v3.2.1 - Show latest stable - 0 notes - 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.

Show source
Register or log in to add new notes.