Everyday Active Record Episode 1: Designing Models with Associations

Posted in Development, Frameworks, Databases on July 10, 2008


Everyday Active Record Episode 1: Designing Models with Associations

We’ll start by creating the Movie, Review, Showing, and Theatre models, then knit them together with associations to bring the cinemas application to life. You’ll learn how to:

  • create models with their respective database tables
  • use one-to-many and many-to-many associations
  • apply guidelines for when to choose a particular association
  • create a join model with a :through association
  • navigate between associated models

Watch Video

Tags: Ruby, Ruby On Rails, Frameworks, Databases, ActiveRecord, ORM, The Pragmatic Programmers, Everyday Active Record