One of the most powerful features of Rails is the ability to create relationships between models and represent those relationships in a database.
🎬 This week we have 2 new videos for you in our Ruby on Rails 6 course as we begin to design a one-to-many relationship.
Up to this point in the course, we’ve been focused on one resource. Now we want to let folks register for events and write reviews for movies. To do that, we’ll need to create new resources and then look at both sides of the associations.
Knowing the “magic” incantations for one-to-many associates isn’t nearly enough. To be really empowered, you also need to know what goes on behind the scene. We’ll show you!