You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stefan Wrobel edited this page Sep 14, 2019
·
9 revisions
ActiveJob
If you are using Rails >= 4.2 with ActiveJob, there's a README Section that explains what to do.
Since sending email synchronously is not a good idea, you'll probably want to have Devise enqueuing it's notification emails for background processing.
Although Devise doesn't support this out of the box you can achieve it easily by using the devise-async gem.
To do so, first add it to your Gemfile:
gem"devise-async"
For Devise >= 2.1.1
Add :async to the list of modules to include in your model's devise call.