-
Notifications
You must be signed in to change notification settings - Fork 4
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
User registration #365
User registration #365
Conversation
issue in milestone is here: #368 |
I'm running into an issue with permitting additional user fields at user registration. It seems similar to lynndylanhurley/devise_token_auth#432 |
When I add one field at a time to the devise_parameter_sanitizer.for(:sign_up) << :name but when I try to pass it a block it doesn't permit the additional fields devise_parameter_sanitizer.for(:sign_up) { |u| u.require(:name, :email, :password, :password_confirmation) } I'm guessing it has something to do with the |
Ok I think I realize what is going on. The way def sign_up_params
params.permit(devise_parameter_sanitizer.for(:sign_up))
end |
|
but |
The issue on |
!m @dmtroyer |
f645789
to
77285c2
Compare
Gee beez it this is up for review. I could have probably done more to directiveify the Organizer Registration view but I needed to draw the line somewhere and move on. |
77285c2
to
4712e55
Compare
@dmtroyer the code looks excellent! Comments:
|
Ah hah! Thanks for the link, I wondered why we were doing that 😉
Shanks! |
Let the user registration begin!