Turbo-charged counter caches for your Rails app.
- counter-cache
- rails
- ruby
- gem
47,133 repositories indexed
1–2 of 2 · Most stars
Turbo-charged counter caches for your Rails app.
Counter caches for Rails computed from any block, such as conditional counts or sums, kept up to date by callbacks on any number of models and stored in a column, a shared counters table or your cache store. Recounts run after commit, so concurrent saves can't leave a stale value.