The call to Devise.add_module here will fail unless devise has already been required before requiring devise-async. In a rails app, the practical implication of this is that devise must be explicitly listed in the gemfile before devise-async even though devise-async depends on devise explicitly.
The call to
Devise.add_module
here will fail unlessdevise
has already been required before requiringdevise-async
. In a rails app, the practical implication of this is thatdevise
must be explicitly listed in the gemfile beforedevise-async
even thoughdevise-async
depends ondevise
explicitly.