Polymorphic Associations
What is Polymorphic Associations ?
With Polymorphic Association a model can belong to more than one models with a single association.
Let’s take an example, we’ll use polymorphic associations as shown in the following schema:
In the above schema p...
codingwithaglassofmilk.hashnode.dev2 min read