I have an ActiveResource model which gets it's data from a legacy
Windows app via REST. The records are ordered by date. I need to display
subtotals by week number. It looks like I'll have to code something,
which isn't a problem, but this is such a common pattern someone must
have done something before me.