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

19,444 total downloads 1,729 for this version
Owners

012c12cf03bddb3a78b027241f02a726

Licenses

MIT

Gemfile
gem 'counter_culture', '~> 0.1.19'
Versions
  1. 0.1.19 January 29, 2014 (42.5 KB)
  2. 0.1.18 October 16, 2013 (42 KB)
  3. 0.1.17 October 8, 2013 (42 KB)
  4. 0.1.16 October 5, 2013 (42 KB)
  5. 0.1.15 October 5, 2013 (41.5 KB)
Show all versions (17 total)
Runtime Dependencies
  1. after_commit_action ~> 0.1.3