Skip to content

kaspernj/counter_cache_update

Repository files navigation

CounterCacheUpdate

Short description and motivation.

Installation

Add this line to your application's Gemfile:

gem "counter_cache_update"

And then execute:

$ bundle

Usage

Call the main service like this:

CounterCacheUpdate::UpdateService.execute!

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.

About

Scans all your models and updates all counter caches with optimised SQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published