Skip to content

Commit 6eb9333

Browse files
Typo fix in BigDecimal job arguments warning
1 parent 00dfa10 commit 6eb9333

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

activejob/lib/active_job/arguments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def serialize_argument(argument)
9898
Primitive serialization of BigDecimal job arguments is deprecated as it may serialize via .to_s using certain queue adapters.
9999
Enable config.active_job.use_big_decimal_serializer to use BigDecimalSerializer instead, which will be mandatory in Rails 7.2.
100100
101-
Note that if you application has multiple replicas, you should only enable this setting after successfully deploying your app to Rails 7.1 first.
101+
Note that if your application has multiple replicas, you should only enable this setting after successfully deploying your app to Rails 7.1 first.
102102
This will ensure that during your deployment all replicas are capable of deserializing arguments serialized with BigDecimalSerializer.
103103
MSG
104104
return argument

activejob/test/cases/argument_serialization_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def self.permitted?
6464
Primitive serialization of BigDecimal job arguments is deprecated as it may serialize via .to_s using certain queue adapters.
6565
Enable config.active_job.use_big_decimal_serializer to use BigDecimalSerializer instead, which will be mandatory in Rails 7.2.
6666
67-
Note that if you application has multiple replicas, you should only enable this setting after successfully deploying your app to Rails 7.1 first.
67+
Note that if your application has multiple replicas, you should only enable this setting after successfully deploying your app to Rails 7.1 first.
6868
This will ensure that during your deployment all replicas are capable of deserializing arguments serialized with BigDecimalSerializer.
6969
MSG
7070
assert_equal(

0 commit comments

Comments
 (0)