If you’re interested in translating or adapting this post, please contact us first. Let’s talk about the N+1 problem in Rails. We will go through a short intro for beginners, speak of the ways to tame the problem (specifically, using the bullet gem), ActiveSupport instrumentation, and introduce the rspec-sqlimit gem. The Hydra In the Rails ecosystem, every developer knows about the so called N+1 q
![Fighting the Hydra of N+1 queries—Martian Chronicles, Evil Martians’ team blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/5ea128eb597ba5e129d9fcefb8844c1c4c3cc2d9/height=288;version=1;width=512/https%3A%2F%2Fevilmartians.com%2Fsocial-cards%2Fchronicles%2Ffighting-the-hydra-of-n-plus-one-queries.jpg)