Multiple table inheritance (MTI) for Active Record with referential integrity