From 2203e85855f97dc79e6f6637e8c486693cedc6ae Mon Sep 17 00:00:00 2001 From: Ben Sheldon Date: Fri, 21 Aug 2020 07:37:19 -0700 Subject: [PATCH] Explicitly require thread_mattr_accessor from ActiveSupport --- lib/good_job/current_execution.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/good_job/current_execution.rb b/lib/good_job/current_execution.rb index 721c881e8..6defcf566 100644 --- a/lib/good_job/current_execution.rb +++ b/lib/good_job/current_execution.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/module/attribute_accessors_per_thread' + module GoodJob # Thread-local attributes for passing values from Instrumentation. # (Cannot use ActiveSupport::CurrentAttributes because ActiveJob resets it)