Two ways for testing preloading/eager-loading of ActiveRecord associations in Rails … and check why 5600+ Rails engineers read also this Two ways for testing preloading/eager-loading of ActiveRecord associations in Rails As a developer who cares about performance you know to avoid N+1 queries by using #includes, #preload or #eager_load methods . But is there a way of checking out that you are doin