lib/active_job/arguments.rb in activejob-7.1.1 vs lib/active_job/arguments.rb in activejob-7.1.2
- old
+ new
@@ -96,10 +96,10 @@
if BigDecimal === argument && !ActiveJob.use_big_decimal_serializer
ActiveJob.deprecator.warn(<<~MSG)
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
end