use name specified by 'as' for automatic inverse association to avoid reflecting on wrong association
Merge pull request #15343 from dontfidget/fix_polymorphic_automatic_inverse_of

prevent bad automatic inverse_of association