Click here to navigate the course.
Drag the edges to resize the window.
In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!
What did we just do?
We created two models named Tag and Destinations.
In the model files, we used the methods has_many and belongs_to define an association between Tag and Destination:
The has_many / belongs_to pair is frequently used to define one-to-many relationships. A few examples are: