diff --git a/config/initializers/active_job.rb b/config/initializers/active_job.rb index 2b5cc40ea..c508b387d 100644 --- a/config/initializers/active_job.rb +++ b/config/initializers/active_job.rb @@ -1,2 +1,2 @@ # Use delayed_job for background jobs -ActiveJob::Base.queue_adapter = :delayed_job +ActiveSupport.on_load(:active_job) { ActiveJob::Base.queue_adapter = :delayed_job }