Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- devise_parameter_sanitizer.for(:sign_up) do |u|
- u.permit(:full_name, :email, :password, :password_confirmation)
- end
- devise_parameter_sanitizer.for(:account_update) do |u|
- u.permit(:full_name, :email, :password, :password_confirmation)
- end
- devise_parameter_sanitizer.for(:sign_up, &your_method)
- devise_parameter_sanitizer.for(:account_update, &your_method)
- def your_method
- Proc.new { |u| u.permit(:full_name, :email, :password, :password_confirmation) }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement