ActiveJob support for Apartment
Add this line to your application's Gemfile:
gem 'apartment-activejob'
And then execute:
$ bundle
Or install it yourself as:
$ gem install apartment-activejob
Create a new initialization file active_job.rb in your project with the contents
class ActiveJob::Base
include Apartment::ActiveJob
end
You will need to restart your rails server for this to take effect.
- Fork it ( https://github.com/[my-github-username]/apartment-activejob/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request