Suppose you have two models -- one for Files and anther for Downloads
-- such that a file has_many => :downloads
If you wanted to get a count of the downloads for the current month
and the two previous months, is there a way to get that data from one
query? Something like:
@file.downloads_for_month( 2008, 10 )
where 2008 is the year and 10 is the month...