Sign in

Repository Index

47,133 repositories indexed

Filters (1)

Filters

Clear all filters

1–6 of 6 · Most stars

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.