Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (10 sloc) 0.377 kB
7b05934 @defunkt first post
authored
1 == cache_fu
2
3 A rewrite of acts_as_cached.
4
5 == Changes from acts_as_cached 1
6
7 - You can no longer set a 'ttl' method on a class. Instead,
8 pass :ttl to acts_as_cached:
9 >> acts_as_cached :ttl => 15.minutes
10
11 - The is_cached? method is aliased as cached?
12
13 - set_cache on an instance can take a ttl
14 >> @story.set_cache(15.days)
15
16
17 Chris Wanstrath [ chris[at]ozmm[dot]org ]
Something went wrong with that request. Please try again.