1 2 3 4 5 6 7
class Comment < ActiveRecord::Base belongs_to :post end class SpecialComment < Comment; end; class VerySpecialComment < Comment; end;