User Model
Learn how to set up an authenticated user model using Devise, and how to create associations between your models.
We'll cover the following
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:
- Create a
User
model to handle user data - Associate
User
andLink
- Add
user_id
attribute/column toLink
Get hands-on with 1400+ tech skills courses.