Pg Inheritance with Rails
I just recently stumbled upon a feature of postgres I didn’t know about yet, its called pg_inheritance. It is basically the possibility of creating child tables which inherit the columns of the base table, although other things such as constraints. The main use case for this is table partitioning, but as I read the docs I was thinking it could might be useful for Model inheritance in rails as well.
