1 2 3 4 5 6
class Post < ActiveRecord::Base belongs_to :author has_many :comments end class SpecialPost < Post; end