N+1 Queries We Still See in 2025 (and How We Kill Them in Rails)
1 min read
N+1 queries still ship to production in 2025. The fix isn’t memorizing three methods—it’s a habit of profiling and strictness.
What you'll learn
includesvspreloadvseager_load—when each hurts or helps- Strict loading in development to fail fast
- A quick bulletproofing pass before merge
Next steps
Add one query-count or latency assertion on your hottest endpoints.