As a Rails developer, recently I found Bullet [0] which helps massively in dealing with eager loading. For some reason I expected the framework to manage this sort of thing for me, even when Rails actually does a ton out of the box already. Only while refactoring I picked up on queries dragging performance. Oh well...<p>[0] <a href="https://github.com/flyerhzm/bullet" rel="nofollow">https://github.com/flyerhzm/bullet</a>