classCategory<ActiveRecord::Basehas_and_belongs_to_many:postsdefself.what_are_you'a category...'endhas_many:categorizationshas_many:authors,:through=>:categorizations,:piggyback=>[:post_id]endclassSpecialCategory<Categorydefself.what_are_you'a special category...'endend