Add Custom Fields to a Devise User Model with a Ruby on Rails Migration

Will Johnson
InstructorWill Johnson

Share this video with your friends

Send Tweet

When you create a User model with Devise using the command rails generate devise User. Devise will create default columns in the database for your User model. To add your own columns for your users you can create a new Rails migration and add any columns you want for your users.