I need to be able to retrieve a sum of related records for display purposes, and also order by the sum of the counts of three related models. Currently, I'm solving this by using an "extra" clause:I need to be able to retrieve a sum of related
I need to be able to retrieve a sum of related records for display purposes, and also order by the sum of the counts of three related models. Currently, I'm solving this by using an "extra" clause:I need to be able to retrieve a sum of related