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
Right out of the box, it seems like the "name" parameter is not saving correctly.
However, this is easily fixed by adding the following to app/controllers/application_controller.rb:
app/controllers/application_controller.rb
class ApplicationController < ActionController::Base before_action :configure_permitted_parameters, if: :devise_controller? protected def configure_permitted_parameters devise_parameter_sanitizer.permit(:sign_up, keys: [:name]) devise_parameter_sanitizer.permit(:account_update, keys: [:name]) end end
The text was updated successfully, but these errors were encountered:
Thanks for the help
Sorry, something went wrong.
It works for me, thanks.
No branches or pull requests
Right out of the box, it seems like the "name" parameter is not saving correctly.
However, this is easily fixed by adding the following to
app/controllers/application_controller.rb
:The text was updated successfully, but these errors were encountered: