Report question

Question: rails group by multiple columns