expanding devise

I currently have a similar devise user journey as is with the etsy demo. I would like to add an additional step to this so that the user signs up initially with a username/password/name and then goes to a page where they input address, phone, company etc. I then want the edit user page as a separate matter, how would i go about doing this?

Posted about 5 years ago by Emma
Posted about 5 years ago by Alex Yang

This isn't the easiest feature to build, but try using the following basic outline:

1. Set up a customized Devise user registration controller
2. Add a new action for your additional step (e.g. 'detail')
3. Place forms with the fields you want in both view pages (new.html.erb and detail.html.erb)
4. Use strong parameters by white-listing/permitting the fields in your controller

You might find some of the information here to be helpful: https://github.com/plataformatec/devise/wiki/How-To:-Email-only-sign-up

0