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!

Web Browser

Code Editor
Associations I

Adding More Data

We built a Rails app that stores data using a single model.

What if we want to build an app with more than one kind of data, like Team and Athlete? Both Team and Athlete would have have different columns, and it would get messy to represent both in one model. Instead, we can represent them using two models.

Let's see how this works by building a Rails app for a travel app.

Report a Bug
If you see a bug or any other issue with this page, please report it here.