ActiveRecord Class Table Inheritance (CTI) library -- sample code