mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1.1 KiB
1.1 KiB
-
Add an option to disable logging of the job arguments when enqueuing and executing the job.
class SensitiveJob < ApplicationJob self.log_arguments = false def perform(my_sensitive_argument) end end
When dealing with sensitive arguments as password and tokens it is now possible to configure the job to not put the sensitive argument in the logs.
Rafael Mendonça França
-
Changes in
queue_name_prefix
of a job no longer affects all other jobs. Fixes #37084.Lucas Mansur
-
Allow
Class
andModule
instances to be serialized.Kevin Deisz
-
Log potential matches in
assert_enqueued_with
andassert_performed_with
Gareth du Plooy
-
Add
at
argument to theperform_enqueued_jobs
test helper.John Crepezzi, Eileen Uchitelle
-
assert_enqueued_with
andassert_performed_with
can now test jobs with relative delay.Vlado Cingel
Please check 6-0-stable for previous changes.