Typo fix in BigDecimal job arguments warning

This commit is contained in:
Akhil G Krishnan 2023-10-19 21:22:31 +05:30
parent 00dfa109d6
commit 6eb93332c4
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ module ActiveJob
Primitive serialization of BigDecimal job arguments is deprecated as it may serialize via .to_s using certain queue adapters.
Enable config.active_job.use_big_decimal_serializer to use BigDecimalSerializer instead, which will be mandatory in Rails 7.2.
Note that if you application has multiple replicas, you should only enable this setting after successfully deploying your app to Rails 7.1 first.
Note that if your application has multiple replicas, you should only enable this setting after successfully deploying your app to Rails 7.1 first.
This will ensure that during your deployment all replicas are capable of deserializing arguments serialized with BigDecimalSerializer.
MSG
return argument

View File

@ -64,7 +64,7 @@ class ArgumentSerializationTest < ActiveSupport::TestCase
Primitive serialization of BigDecimal job arguments is deprecated as it may serialize via .to_s using certain queue adapters.
Enable config.active_job.use_big_decimal_serializer to use BigDecimalSerializer instead, which will be mandatory in Rails 7.2.
Note that if you application has multiple replicas, you should only enable this setting after successfully deploying your app to Rails 7.1 first.
Note that if your application has multiple replicas, you should only enable this setting after successfully deploying your app to Rails 7.1 first.
This will ensure that during your deployment all replicas are capable of deserializing arguments serialized with BigDecimalSerializer.
MSG
assert_equal(