mongoid/mongoid — pull request #2507 by DouweM (2012-10-28 00:25:16+00:00)
Title: Don't hit db multiple times when eager load has no docs.

939484f3bdcca9432c4bcfc5a7ad680daa9177c1 was a partial fix for #2041, this is a complete one!