rails/rails — pull request #8413 by senny (2012-12-04 12:39:12+00:00)
Title: backport #8403, no intermediate AR objects when eager loading.

This is a backport of #8403.
It fixes the issue described in #3313

Conflicts:

activerecord/CHANGELOG.md
activerecord/test/models/developer.rb

I had to make some modifications to the spec because the API changed in 4.0.