With these models:
class Week has_many :proofs end class Proof belongs_to :week end
I want to do something like:
Week.where
Pardon me if I'm way off - but would you be able to use a simple counter_cache in the weeks table? Then you could do something like week.proofs_count.