I kinda upgraded to 2.0.1 and when I register, the Devise.router_name is nil.
nil is not a symbol
For now, I added a config.router_name = :main_app in the initializers/devise.rb but I'm wondering if that is also a step at upgrading to 2.0.1
config.router_name = :main_app
This should not be required. Devise should set it automatically, how can we reproduce the issue? Thanks for the report.
My code was in a previous devise 1.x. And I upgraded to 2.0.1. I followed the instructions on the upgrading to 2.0, specifically changed stuff on yml and added fields on user.rb. And I run rake (w/c registers a user) and that showed up.
No prob! Oh and I meant to write there rake db:seed.
Ensure Devise.available_router_name is never nil, closes #1648