Skip to main content

User Authentication with Devise Discussion

General • Asked by Chris Oliver

If like me you need to add some fields in User model. You can simply create your own registration controller and define sign_up_params and account_update_params to overload the devise controller.

I don't know if that is the best practice... but it works.


Enjoy ;)

Thanks for sharing Maxime! I've also written a post on this about without having to setup a new controller.

Indeed, your approach is easier to implement I think ;)
I'm going to read all your posts ASAP!

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.