From 87fa2b1fbb0a0f7d67fb6a55400404a2b0f23884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 28 Mar 2024 00:28:32 +0100 Subject: [PATCH] Don't override ActiveSupport::TimeWithZone.name We aren't getting any warnings when running our test suite, which means that gems that depended on this method (like graphql [1]) have already added compatibility for this case. [1] Pull request 3774 in https://github.com/rmosolgo/graphql-ruby/ --- config/initializers/new_framework_defaults_7_0.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb index 40448620f..0bdd126ee 100644 --- a/config/initializers/new_framework_defaults_7_0.rb +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -32,7 +32,7 @@ Rails.application.config.active_support.hash_digest_class = OpenSSL::Digest::SHA # Don't override ActiveSupport::TimeWithZone.name and use the default Ruby # implementation. -# Rails.application.config.active_support.remove_deprecated_time_with_zone_name = true +Rails.application.config.active_support.remove_deprecated_time_with_zone_name = true # Calls `Rails.application.executor.wrap` around test cases. # This makes test cases behave closer to an actual request or job.