123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::AttributeMethods::TimeZoneConversion

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

DSL Calls

included

[ GitHub ]


63
64
65
66
67
68
# File 'activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb', line 63

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