Class table inheritance for ActiveRecord using writeable database views.