| Start |
|---|
| Basic example First we need a table to hold our data Then lets create some models When you do a When you retrieve the record becomes is most useful when dealing with shared partials or routes/controllers of the superclass instead of the subclass. |
| Custom inheritance column By default STI model class name is stored in a column named Migration in this case will look as follows: When you do |
| Rails model with type column and without STI Having |
Read Article
https://develop.horje.com/learn/1434/reference