I’m very new to Rails and devise so here goes…
I’ve installed devise and everything is working fine but I’d like to add a few more fields to my registration page. For instance, I have a usertype drop down that I’d like to add (populated by a Usertype Model – works fine in test) and would also like to collect different information depending on the type of user it is (CC information, etc.) Can someone point me to a resource or something. I tried overriding the Registration controller but that didn’t link back to the devise views or fall in line with DRY principles to me (to copy the views). Thanks in advance for suggestions.
Just add columns to the user and then add additional features in the views.
Then in your migration rake file:
and then
rake db:migrate. Next you can add a drop down to your view and you can get those throughrails generate devise:views: