public
Description: Everyone's favorite memcached plugin for ActiveRecord.
Homepage: http://errtheblog.com
Clone URL: git://github.com/defunkt/cache_fu.git
Peter Vandenberk (author)
Wed Jul 16 02:24:42 -0700 2008
commit  73deec7bbb08525ab0307b06ae7edd6825cc6c50
tree    dd3fd39ce64e6f86c852344adf16fedaa69afaa2
parent  535a23d139a08d54e7088c5ec8dc355dead8f973
cache_fu / README
100644 18 lines (10 sloc) 0.377 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
== cache_fu
 
A rewrite of acts_as_cached.
 
== Changes from acts_as_cached 1
 
- You can no longer set a 'ttl' method on a class. Instead,
  pass :ttl to acts_as_cached:
    >> acts_as_cached :ttl => 15.minutes
 
- The is_cached? method is aliased as cached?
 
- set_cache on an instance can take a ttl
    >> @story.set_cache(15.days)
 
 
Chris Wanstrath [ chris[at]ozmm[dot]org ]