1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert "Ensure config.active_record.time_zone_aware_types is always set"

This reverts commit 43ccebc1db.

This is not fixing the configuration problem since we are assigning to
the ActiveRecord::Base not the configuration. See #24303.
This commit is contained in:
Rafael Mendonça França 2016-03-24 21:00:54 -03:00
parent c7d3bd48df
commit 520e81ba5d

View file

@ -65,7 +65,6 @@ module ActiveRecord
ActiveSupport.on_load(:active_record) do
self.time_zone_aware_attributes = true
self.default_timezone = :utc
self.time_zone_aware_types = ActiveRecord::Base.time_zone_aware_types
end
end