New Discussion

Notifications

You’re not receiving notifications from this thread.

User Authentication with Devise Discussion

2
General
Maxime Sahroui Maxime Sahroui

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.

Source: http://www.jacopretorius.ne...

Enjoy ;)

Thanks for sharing Maxime! I've also written a post on this about without having to setup a new controller. https://gorails.com/blog/ra...

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 88,440+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.