-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
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
Devise initializer issue #17
Comments
+1 |
solve issue as from def configure_permitted_parameters to def configure_permitted_parameters |
Thank you Vanitu! |
Sorry it took a bit of time to address this issue because of other responsibilities. |
Since to d395efd, both
DeviseController
andApplicationController
(its parent controller) are loaded inside an initializer, before the app has been completely loaded and in scenarios where loading the app isn't necessary (like duringrake db:setup
orrake routes
tasks).This isn't recommended and it can cause different loading order bugs that are hard for developers to track down. As current Devise maintainer, I recommend moving the
configure_permitted_parameters
callback back to theApplicationController
class.Related Devise issue - heartcombo/devise#3757
The text was updated successfully, but these errors were encountered: