rails/rails — pull request #11798 by edsinclair (2013-08-07 19:46:53+00:00)
Title: Fix Has many through with order source preload

This fixes a ActiveRecord 3 preloader regression (behavior worked correctly for ActiveRecord 2)
@senny already patched ActiveRecord 4:

https://github.com/rails/rails/issues/8663