RubyGems.org

counter_culture provides turbo-charged counter caches that are kept up-to-date not just on create and destroy, that support multiple levels of indirection through relationships, allow dynamic column names and that avoid deadlocks by updating in the after_commit callback.

installgem install counter_culture
Authors

Magnus von Koeller

33,664 total downloads 2,116 for this version
Owners

012c12cf03bddb3a78b027241f02a726

Licenses

MIT

Gemfile
gem 'counter_culture', '~> 0.1.25'
Versions
  1. 0.1.25 July 30, 2014 (44 KB)
  2. 0.1.24 June 27, 2014 (43.5 KB)
  3. 0.1.23 May 24, 2014 (43 KB)
  4. 0.1.22 May 24, 2014 (43 KB)
  5. 0.1.21 May 24, 2014 (42.5 KB)
Show all versions (23 total)
Runtime Dependencies
  1. after_commit_action ~> 0.1.3
Ruby Dependency
  1. >= 0