jerrett / cache_fu forked from timocratic/cache_fu
- Source
- Commits
- Network (35)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
Jerrett Taylor (author)
Mon May 11 12:08:21 -0700 2009
cache_fu /
| name | age | message | |
|---|---|---|---|
| |
CHANGELOG | Tue Jan 22 16:27:07 -0800 2008 | |
| |
LICENSE | Tue Jan 22 16:27:07 -0800 2008 | |
| |
README | Tue Jan 22 16:27:07 -0800 2008 | |
| |
Rakefile | Tue Jan 22 16:27:07 -0800 2008 | |
| |
defaults/ | Wed Jul 16 02:24:42 -0700 2008 | |
| |
init.rb | Fri May 02 09:28:29 -0700 2008 | |
| |
install.rb | Tue Jan 22 16:27:07 -0800 2008 | |
| |
lib/ | ||
| |
tasks/ | Wed Jul 16 02:24:42 -0700 2008 | |
| |
test/ | Tue Jan 22 16:27:07 -0800 2008 |
README
== 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 ]

