It has two because `has_and_belongs_to_many` adds a `has_many` and a `has_many :through` reflection.