AridCache makes caching easy and effective. AridCache supports caching on all your model named scopes, class methods and instance methods right out of the box. AridCache prevents caching logic from cluttering your models and clarifies your logic by making explicit calls to cached result sets. AridCache is designed for handling large, expensive ActiveRecord collections but is equally useful for caching anything else as well.
Gemfile gem 'arid_cache', '~> 1.4.2'
install gem install arid_cache -v 1.4.2