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.
Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.