SwitchUp SwitchUp Ranked Best Coding Bootcamps 2025

How to test if eager loading is working?

Altcademy Team wrote on 7 February 2018

You can use https://github.com/flyerhzm/bullet#run-in-tests and following the instructions under "Run in tests". Bullet gem will raise errors like
Bullet::Notification::UnoptimizedQueryError in your Rspec tests.

Trusted by

Students and instructors from world-class organizations

Join the upcoming Cohort #111

Enroll for March 2nd, 2026