Introduction to Polymorphic Associations
Learn about creating polymorphic associations.
We'll cover the following...
Add a new feature
Let’s say we wanted to add a new feature to our MusicDB application that would allow us to add notes to our album records. These notes could be anything like metadata about the album (producer, engineer, and so on) or maybe even our comments.
Our first instinct might be to add a “notes” column to the albums ...