Skip to content

Commit bee84b0

Browse files
committed
Add Active Job adapter
This starts us down the path of using Active Job, which is the preferred mechanism for jobs in Rails 7.1. Signed-off-by: jonathan.kerr <3410350+jonodrew@users.noreply.github.com>
1 parent 4e9af50 commit bee84b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/application.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ class Application < Rails::Application
3131

3232
config.active_record.belongs_to_required_by_default = true
3333

34+
# let's start using Active Job!
35+
config.active_job.queue_adapter = :delayed_job
36+
3437
if ENV["RAILS_LOG_TO_STDOUT"].present?
3538
$stdout.sync = true
3639
config.rails_semantic_logger.add_file_appender = false

0 commit comments

Comments
 (0)