This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 9dc19a3a593f4ce1b4e221889091cebd773ea5c4
tree 114983d9c369220d1c30ab43bcc4341ca11407ec
parent 41f1ad09c9cb451aa564f913468b9e562dbf2f17
tree 114983d9c369220d1c30ab43bcc4341ca11407ec
parent 41f1ad09c9cb451aa564f913468b9e562dbf2f17
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 ]









