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/
This commit is contained in:
Javi Martín
2024-03-28 00:28:32 +01:00
parent 49754bca2e
commit 87fa2b1fbb

View File

@@ -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.