rails/rails — pull request #12664 by pftg (2013-10-27 17:43:06+00:00)
Title: Skip `include_values` from through associations chains for building association scope

In order that target scope builds without include values from through associations,
skip adding include values from through associations scope chains on building association scope.

Fixes: #12242, #9517, #10240