I have a blog app that uses Devise for auth. I want users to be able to have a profile, how would I do that using the simple_form
gem?
I tried:
rails g controller AuthorProfiles
rails g migration add_author_profile_to_users description:text
You can add your new parameters directly to Devise. When the user goes to edit their profile, you can add the additional parameters there and they can fill them out or change them. Check out the docs .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.