Skip to content

Commit

Permalink
Move railtie.rb to be consistent with other classes in the project. U…
Browse files Browse the repository at this point in the history
…pdate to use Ruby 2.5 include method. RuboCop!
  • Loading branch information
hoenth committed Jan 6, 2021
1 parent 2574331 commit 5005b20
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lib/delayed/job_groups/backend/active_record/railtie.rb

This file was deleted.

11 changes: 11 additions & 0 deletions lib/delayed/job_groups/railtie.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# frozen_string_literal: true

module Delayed
module JobGroups
class Railtie < ::Rails::Railtie
config.after_initialize do
Delayed::Backend::ActiveRecord::Job.include(Delayed::JobGroups::JobExtensions)
end
end
end
end

0 comments on commit 5005b20

Please sign in to comment.