rails/rails — pull request #8913 by seejee (2013-01-12 15:37:53+00:00)
Title: Added test case to prevent regression of chained, preloaded scopes.

As discussed in #7792, this PR includes a test case that will prevent a regression of #7490 on master.