public
Description: Everyone's favorite memcached plugin for ActiveRecord.
Homepage: http://errtheblog.com
Clone URL: git://github.com/defunkt/cache_fu.git
Search Repo:
defunkt (author)
Fri May 02 09:28:29 -0700 2008
commit  535a23d139a08d54e7088c5ec8dc355dead8f973
tree    f69ec0f534efaacfe4b644d5e92b1d5239e89577
parent  3be030a826e5e7341e172c56258d115e429d32bc
name age message
folder CHANGELOG Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
folder LICENSE Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
folder README Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
folder Rakefile Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
folder defaults/ Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
folder init.rb Fri May 02 09:28:29 -0700 2008 RubyMemcache error message should not have been... [defunkt]
folder install.rb Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
folder lib/ Wed Apr 30 21:32:41 -0700 2008 add memcached gem support [Quake Wang]
folder tasks/ Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
folder test/ Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
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 ]