public
Fork of defunkt/cache_fu
Description: Everyone's favorite memcached plugin for ActiveRecord.
Homepage: http://errtheblog.com
Clone URL: git://github.com/lukemelia/cache_fu.git
name age message
file CHANGELOG Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
file LICENSE Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
file README Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
file Rakefile Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
directory defaults/ Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
file init.rb Fri May 02 09:28:29 -0700 2008 RubyMemcache error message should not have been... [defunkt]
file install.rb Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
directory lib/ Wed May 07 11:10:59 -0700 2008 Raise an exception when a TTL greater than 30 d... [lukemelia]
directory tasks/ Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
directory test/ Wed May 07 11:10:59 -0700 2008 Raise an exception when a TTL greater than 30 d... [lukemelia]
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 ]