class Repertoire < ApplicationRecord has_many :sub_repertoires has_many :tag_repertoires, through: :sub_repertoires end