1 nota · última: 4 Nov 2015
The post explains the N+1 query problem in Rails, shows how eager loading methods reduce repeated database calls, and gives a few other ways to merge queries and spot them in development.