From 5e000ce2b7805a9120db145339335d68d2b0853b Mon Sep 17 00:00:00 2001 From: JonathanHallam Date: Thu, 16 Jan 2025 09:57:52 +0000 Subject: [PATCH] Remove time zone preservation This was introduced in the rails 8.0 upgrade because of deprecation warnings. Without the new default file we no longer get the warnings so i've removed the line from the application config. --- config/application.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/application.rb b/config/application.rb index 9519fd55..1347ba10 100644 --- a/config/application.rb +++ b/config/application.rb @@ -38,7 +38,5 @@ class Application < Rails::Application # Don't generate system test files. config.generators.system_tests = nil - - Rails.application.config.active_support.to_time_preserves_timezone = :zone end end