Solve n+1 in Rails forever 2022-06-24 There are multiple gems that can help you solve n+1 problems: https://github.com/DmitryTsepelev/ar_lazy_preload https://github.com/salsify/goldiloader Sources: https://discuss.rubyonrails.org/t/n-1-queries-should-be-the-exception-not-the-easy-trap-to-fall-in/74537/3 That's it for this post, thanks for reading!