Module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods
In: lib/active_record/attribute_methods/time_zone_conversion.rb

Methods

Protected Instance methods

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.

Defined for all datetime and timestamp attributes when time_zone_aware_attributes are enabled. This enhanced write method will automatically convert the time passed to it to the zone stored in Time.zone.

[Validate]