Module: ActiveRecord::AttributeMethods::TimeZoneConversion
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::Concern
|
|
Defined in: | activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb |
Class Method Summary
::ActiveSupport::Concern
- Extended
DSL Calls
included
[ GitHub ]58 59 60 61 62 63
# File 'activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb', line 58
included do mattr_accessor :time_zone_aware_attributes, instance_writer: false, default: false class_attribute :skip_time_zone_conversion_for_attributes, instance_writer: false, default: [] class_attribute :time_zone_aware_types, instance_writer: false, default: [ :datetime, :time ] end