An ActiveJob queue adapter that disables delayed job.
Add this line to your application's Gemfile:
gem 'active_job-disable'And then execute:
$ bundle
Add this line to your application.rb:
config.active_job.queue_adapter = :disable
After that, ActiveJob::Disable:DisabledError is thrown if you call perform_later or deliver_later.
The gem is available as open source under the terms of the MIT License.