Skip to content

Commit 520e81b

Browse files
committed
Revert "Ensure config.active_record.time_zone_aware_types is always set"
This reverts commit 43ccebc. This is not fixing the configuration problem since we are assigning to the ActiveRecord::Base not the configuration. See rails#24303.
1 parent c7d3bd4 commit 520e81b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

activerecord/lib/active_record/railtie.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ class Railtie < Rails::Railtie # :nodoc:
6565
ActiveSupport.on_load(:active_record) do
6666
self.time_zone_aware_attributes = true
6767
self.default_timezone = :utc
68-
self.time_zone_aware_types = ActiveRecord::Base.time_zone_aware_types
6968
end
7069
end
7170

0 commit comments

Comments
 (0)