Module | ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods |
In: |
lib/active_record/attribute_methods/time_zone_conversion.rb
|
Defined for all datetime and timestamp attributes when time_zone_aware_attributes are enabled. This enhanced read method automatically converts the UTC time stored in the database to the time zone stored in Time.zone.