Hacker News new | ask | show | jobs
by christudor 2051 days ago
"lots of N+1s, but these are easy to avoid with things like bullet"

What is bullet?

2 comments

It is a plugin/gem that helps you track N+1 queries.

https://github.com/flyerhzm/bullet

Thank you!
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).