Report question

Question: Rails 3 ActiveRecord: Order by count on association