I am using Devise for user registration and authentication but want to have user profiles too, for example /user/john-doe with all the fields like Company Name, Phone Number etc which the person can add.
Is there any Rails way to get it done out of the box? any gem for this? if not, can someone give me some direction on how to do it?
There is no gem to add company name, phone etc (at least I know :)), but normally what I do is,
I add the above columns to table, via a migration
Ex:
add_column :users, :company_name, :stringthen I update the model accordingly
then I run this command to copy the devise views
then I update the corresponding view with new text_boxes etc..
HTH