Passive Job
Passive Job is a backport of Rails 4.2's Active Job to Rails 3.2
Install
gem 'passive_job', require: 'active_job'
And create config/initializers/active_job.rb
with:
ActiveJob::Base.queue_adapter = :inline # default queue adapter
# Adapters currently supported: :backburner, :delayed_job, :qu, :que, :queue_classic,
# :resque, :sidekiq, :sneakers, :sucker_punch
How to use?
See how to use Active Job and the official repo
Testing
bundle exec rake test
What does not work?
GlobalID is not tied to Rails yet, need works
Contribution
We welcome any contributions small or large, please file PR :)
Credits
Lots of works are based on the 4.x backport version of Andrew Kane's activejob_backport.