Category Archives: Rails

Preserving with_scope on eager-loaded Associations

(I’m just gonna start posting things now. Please excuse the suddenness of this article. –brendan)

As web developers, one of the first places we turn to when tuning performance of pages that include a lot of data is to minimize the number of queries to the database needed to render a page. In Rails, […]