Using devise-async to send out emails does not work (Rails/Sidekiq)
问题 I have sidekiq (2.15.2) , devise (3.2.0) and devise-async (0.9.0) in my Rails app. I am trying to get devise-async to take over sending out emails. but without luck. I have followed the instructions like this: Add :async to User model: # models/user.rb class User include Mongoid::Document devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :confirmable, :async end Create an initializer: # config/initializers/devise_async.rb Devise::Async