public
Description: Everyone's favorite memcached plugin for ActiveRecord.
Homepage: http://errtheblog.com
Clone URL: git://github.com/defunkt/cache_fu.git
Quake Wang (author)
Wed Apr 30 21:32:41 -0700 2008
commit  3be030a826e5e7341e172c56258d115e429d32bc
tree    297bca0a0b197e5f5e1d17466da96de33a9b3a5e
parent  2f7cb0aceaf0239165e88898ded9575098dd4480
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 ]