rails/rails — pull request #8258 by kommen (2012-11-18 12:27:25+00:00)
Title: Add test to ensure preloading works as expected with "group", "select" and "includes".

Rebased and adapted #2303 onto master as requested buy @steveklabnik.

This test case failed with rails 3.1, but it works with 3.2 and current master. :beers: