Skip to content

Commit

Permalink
ActiveJob, should require active_job/railtie
Browse files Browse the repository at this point in the history
  • Loading branch information
skatkov committed Jul 25, 2024
1 parent 19b49f7 commit c359e43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/munster/jobs/processing_job.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "active_job" if defined?(Rails)
require "active_job/railtie"

module Munster
class ProcessingJob < ActiveJob::Base
Expand Down
1 change: 0 additions & 1 deletion test/test_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require "active_record"
require "action_pack"
require "action_controller"
require "active_job/railtie"
require "rails"

database = "development.sqlite3"
Expand Down

0 comments on commit c359e43

Please sign in to comment.