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?
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?
Apologies, but I’m afraid this may have gotten lost in the shuffle.
Anyone have any ideas on this?
Robert W. 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…
Hope it helps.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs