User Model

Learn how to set up an authenticated user model using Devise, and how to create associations between your models.

Now that you have your Link structure set up, you need to set up your User structure.

To do this, you will need to do the following:

  1. Create a User model to handle user data
  2. Associate User and Link
  3. Add user_id attribute/column to Link

Get hands-on with 1400+ tech skills courses.