Django has Multi-table inheritance out of the box (https://docs.djangoproject.com/en/3.1/topics/db/models/#multi-table-inheritance). is there an equivalent solution in ruby on rails?
The closest I can find is either Polymorphic Associations or Single Table Inheritance (STI) or Abstract Base Classes but none of them is exactly what I need.