News for hackers. Stuff that matters.
Re:Understanding N + 1 queries problem by bhaak on Monday January 02, 2023 @03:30PM (#34223233)
IME if ActiveRecord is not sufficient, you go directly to SQL.

find_by_sql gives you enough freedom to get everything out of the db into a ActiveModel object.

There are no comments on this comment yet.