Single Table Inheritance
Basic example
Custom inheritance column
Rails model with type column and without STI