I have no idea how to fix this, I tried adding email with the strong params suggestions, no luck....
I can't seem to figure out why this is happening and this is making me crazy :(
Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.
this is just an example
def configure_permitted_parameters
devise_parameter_sanitizer.for(:sign_up) { |u| u.permit(:username, :email, :password,:password_confirmation)}
end
you are missing :email, add it and it will work fine
I did added email, it is not working and that's why I opened this issue :/
On Feb 24, 2015 10:57 AM, "Lalit Yadav" [email protected] wrote:
this is just an example
def configure_permitted_parameters
devise_parameter_sanitizer.for(:sign_up) { |u| u.permit(:username, :email,
:password,:password_confirmation)}
end
you are missing :email, add it and it will work fine—
Reply to this email directly or view it on GitHub
https://github.com/plataformatec/devise/issues/3488#issuecomment-75821156
.
@mikeki Did you change your form method to put? That route has a get method, which is invoked unless specified.
Most helpful comment
@mikeki Did you change your form method to put? That route has a get method, which is invoked unless specified.