Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
colinbartlett
on Sept 12, 2024
|
parent
|
context
|
favorite
| on:
Finding and optimizing N+1 queries on a relational...
I install the Bullet gem in every Rails project because it not only detects these N+1 queries but tells you how to fix them, helping to ensure they never even make it to production.
https://github.com/flyerhzm/bullet
pjm331
on Sept 12, 2024
[–]
As of rails 6.1 you can use active records built in strict_loading to solve this problem as well
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://github.com/flyerhzm/bullet