starterkits/rails4-starterkit

un-permitted parameters

Closed this issue · 1 comments

Where would you recommend adding additional user params on signup. I am adding a few fields to the users/registrations/_form view and getting a un-permitted parameters error on submission.

Many thanks for the help and the great starter app.

For registration fields, you need to modify the sanitized params in
controllers/users/registrations_controller.rb

Also see Rails 4 strong parameters documentation.