RubyGems.org

find_cache

0.2.1

Makes ActiveRecord >=3.0.0 'find_by_id, find_by_(attr)' methods and 'has_one, belongs_to relations' cacheable by PK(id) or any referenced columns using Rails.cache methods. It also supports fetching multiple records using PKs(ids) with find_all_cache method(if cache store supports multiple reads [hint: memcache_store, dalli_store support.]).

installgem install find_cache
Authors

Mustafa Turan

10,167 total downloads 1,269 for this version
Owners

206494ce48000e1802bb69b378aef034

Gemfile
gem 'find_cache', '~> 0.2.1'
Versions
  1. 0.2.1 September 23, 2012 (41 KB)
  2. 0.2.0 September 23, 2012 (40.5 KB)
  3. 0.1.8 August 30, 2012 (31.5 KB)
  4. 0.1.7 August 30, 2012 (31 KB)
  5. 0.1.6 August 29, 2012 (30 KB)
Show all versions (11 total)