All Projects → defunkt → Cache_fu

defunkt / Cache_fu

Licence: mit
Ghost from Christmas past. Unmaintained.

Programming Languages

ruby
36898 projects - #4 most used programming language

== 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 ]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].