Add has_many :quizzes to category and subject.