Handle 'has-many :through' association in model.