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!


Code Editor
Web Browser
Associations II

Movies I

Nice work! Let's review what we did:

  1. We added columns to the movies table and actors table
  2. We used the t.belongs_to methods in the parts table to add foreign keys, setting up the many-to-many relationship.
  3. Finally we ran the migrations to update the database, and seeded the database with the data in db/seeds.rb.
Report a Bug
If you see a bug or any other issue with this page, please report it here.