Short description and motivation.
Add this line to your application's Gemfile:
gem "counter_cache_update"
And then execute:
$ bundle
Call the main service like this:
CounterCacheUpdate::UpdateService.execute!
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.