We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I add Devise.add_mapping(:users, {}), it errors out with:
Devise.add_mapping(:users, {})
.bundle/ruby/2.2.0/gems/devise-3.5.1/lib/devise/failure_app.rb:13:in `<class:FailureApp>': undefined method `routes' for nil:NilClass (NoMethodError)
Line 13 of devise's failure_app.rb is include Rails.application.routes.url_helpers.
failure_app.rb
include Rails.application.routes.url_helpers
Perhaps it's inadvertently adding a dependency to Rails here. Is there a way to avoid this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I add
Devise.add_mapping(:users, {})
, it errors out with:.bundle/ruby/2.2.0/gems/devise-3.5.1/lib/devise/failure_app.rb:13:in `<class:FailureApp>': undefined method `routes' for nil:NilClass (NoMethodError)
Line 13 of devise's
failure_app.rb
isinclude Rails.application.routes.url_helpers
.Perhaps it's inadvertently adding a dependency to Rails here. Is there a way to avoid this?
The text was updated successfully, but these errors were encountered: