This project is not actively maintained and was intended for an old version of Rails/Device, USE AT YOU OWN RISKS
Adds an activejob backend to devise-async.
Note that did not I push (yet) a pull request to the original devise-async repository because right now
the activejob gem breaks compatiliby with older versions of Rails, due to explicit dependency to
activesupport 4.1.
Add this line to your application's Gemfile:
gem 'devise-async-activejob'And then execute:
$ bundle
Or install it yourself as:
$ gem install devise-async-activejob
To use the gem you just have to configure devise-async the use the activejob backend.
For exemple if you use an initializer:
# config/initializers/devise_async.rb
Devise::Async.setup do |config|
config.enabled = true
config.backend = :active_job
# ...
endSee the docs for devise-async for an exntensive documentation.
This gem has been testing on rails 4.1 with the activejob(0) gem and devise 3.
Rails 4.2 still poses issues with devise-async, which I will fix when it releases.
- Fork it ( https://github.com/[my-github-username]/devise-async-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