Eager loading is nice with the include attribute
Post.find(:all, :include => :author)
I\'m wondering if you can also eager load counts, like
Try this:
Comment.count(:group => :post)
To filter by conditions:
Comment.count(:group => :post, :conditions => {:approved => true })
These will return hashes with posts as keys and the number of comments as values.