Stop Guessing Between .count, .length, and .size in Rails
When investigating a slow Rails endpoint, it's common to start by looking for N+1 queries, missing indexes, or expensive joins. Sometimes, though, the real culprit is much smaller. It might be hiding
Jun 18, 20264 min read9

