Just started learning active record and am wondering how to best retrieve data from multiple tables where an SQL aggregate query is involved.
In the following example (f
An include is just a clever left join, you can use that in conjuction with select and group_by in your .find