Ruby on Rails, Activerecord, MySQL, Database.
The bullet gem is a helpful tool for determining whether or not you need to eager-load but also if you are unnecessarily eager-loading. To use, simply enable it in the test environment Then run all your specs: bundle exec rspec and watch for warnings on n+1 query issues. Benchmarking Your Changes