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