Project Challenge: Associations and Routes
Create the appropriate associations between your models and configure your routes.
We'll cover the following
Problem statement
In this challenge, you need to do the following:
- Create an association between your
Link
andComment
model. You need to figure out the relation between the models. - Configure the routes for comments. Use all the RESTful routes. Your
comments
resource should be nested inside yourlinks
resource.
Use
Implementation
Get hands-on with 1400+ tech skills courses.