N+1 queries - What if counter caches are the problem and not the solution?
N+1 queries are a common performance issue and Rails' built-in counter caches a well-known solution to avoid them. But what do you do if the counter cache is the problem?
Stephan Leibelt · 25 Nov 2020
Read ->