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

This reverts commit 43ccebc1.

This is not fixing the configuration problem since we are assigning to
the ActiveRecord::Base not the configuration. See #24303.
上级 c7d3bd48
......@@ -65,7 +65,6 @@ class Railtie < Rails::Railtie # :nodoc:
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册