1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/test/cases
Rafael Mendonça França ce085f62d4
Add an option to disable logging for jobs with sensitive arguments
class SensitiveJob < ApplicationJob
      self.log_arguments = false

      def perform(my_sensitive_argument)
      end
    end

When dealing with sensitive arugments as password and tokens it is
now possible to configure the job to not put the sensitive argument
in the logs.

Closes #34438.
2019-11-08 13:53:23 -05:00
..
adapter_test.rb
argument_serialization_test.rb Serialize classes and modules with ActiveJob 2019-09-09 16:45:12 -04:00
callbacks_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
exceptions_test.rb Use ActiveJob 5.2 retry logic for old jobs 2019-04-22 14:53:38 -07:00
job_serialization_test.rb Adding enque time tracking and logging 2019-02-13 19:20:41 -05:00
logging_test.rb Add an option to disable logging for jobs with sensitive arguments 2019-11-08 13:53:23 -05:00
queue_adapter_test.rb Fix queue adapter class delegation to point to self.class 2019-09-23 21:59:59 -03:00
queue_naming_test.rb Stop queue_name_prefix from being global 2019-09-13 18:30:19 -03:00
queue_priority_test.rb
queuing_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
rescue_test.rb
serializers_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
test_case_test.rb
test_helper_test.rb Log active_job potential matches when asserting 2019-08-12 15:16:12 -05:00
timezones_test.rb Add support for timezones to Active Job 2018-02-22 14:14:42 +00:00
translation_test.rb