Ruby on Rails Tuesday, February 21, 2017

i whitelisted a paramater as shown below in appliction_controller.rb  but i'm getting the error from Action Controller "

TypeError in Devise::ConfirmationsController#show nil is not a symbol nor a string

Here's the line from my application_controller.rb:

      devise_parameter_sanitizer.permit(:sign_up, keys: [:name])
Is confirmations_controller part of the sign_up group for devise?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e4325b71-fd0c-4f31-8822-f8e054362093%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment