Polymorphic Associations in Many to Many Associations
Polymorphic associations in Ruby on Rails are pretty simple. Many to Many are simple as well. Putting them together is a little less straightforward. This trick will get you to the point where you can at least get the list of the associated objects.
Category
🤖
Tech