Hello list, I'm curious if Rails has built-in support similar to :counter_cache for other type of aggregate values such as average, min, max, etc? If not, does a plugin exist that adds this functionality to Rails?
on 2007-05-07 20:27
on 2007-05-08 15:28
Apologies, but I'm afraid this may have gotten lost in the shuffle. Anyone have any ideas on this?
on 2007-05-08 18:01
Robert Walker wrote: > Apologies, but I'm afraid this may have gotten lost in the shuffle. > Anyone have any ideas on this? If it helps I wrote a blog post on how to write custom counter caches, this could easily be modified to do whatever you want... http://douglasfshearer.com/blog/custom-counter_cac... Hope it helps.