rails/rails — pull request #7569 by skorfmann (2012-09-07 23:14:07+00:00)
Title: Improve exception message for HasManyThroughAssociationPolymorphicSource...

Exception message was misleading, as it is possible to have a
polymorphic 'has_many :through' join model.