I find that my app is doing a lot of db queries to get comment counts for various objects, as I reference these counts frequenly in my views. This is using acts_as_commentable. Anyone have any tips for adding counter caching to acts_as_commentable? I assume this is possible with polymorphic associations? Thanks!
on 2007-02-20 22:00