Module: AndOne::ActiveJobHook

Extended by:
ActiveSupport::Concern
Includes:
ScanHelper
Defined in:
lib/and_one/active_job_hook.rb

Overview

Hooks into ActiveJob's around_perform callback to scan every job for N+1 queries. Works with any ActiveJob backend: Sidekiq, GoodJob, SolidQueue, Delayed Job, etc.

Automatically installed by the Railtie. Can also be installed manually:

ActiveJob::Base.include(AndOne::ActiveJobHook)