Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
christudor
· 6y ago · 0 comments
"lots of N+1s, but these are easy to avoid with things like bullet"
What is bullet?
Comments
[–]
mokkol
6y ago
It is a plugin/gem that helps you track N+1 queries.
https://github.com/flyerhzm/bullet
[–]
christudor
OP
6y ago
Thank you!
[–]
andysomniac
6y ago
It is a gem that tells you when you are accidentally making a N+1 query and suggests the best way to fix it in AR (it also tells you when you have over used includes that are not needed and other such tweaks to make to your queries).