rails/rails — pull request #13969 by sergiocampama (2014-02-07 17:47:01+00:00)
Title: Disable `source_type` scope when `through` already scoped

Add a condition to disable the `source_type` automatic class scoping
when the `through_reflection` already has a scope.

Fixes #13920