How to avoid N + 1 and keep your Ruby on Rails controller clean
Where to put the logic related to database queries optimization in a Ruby on Rails...
Tags: ruby, rails, patterns, designpatterns