github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

methodmissing / cache_fu forked from defunkt/cache_fu

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 36
  • Source
  • Commits
  • Network (36)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Everyone's favorite memcached plugin for ActiveRecord. — Read more

  cancel

http://errtheblog.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

first post 
defunkt (author)
Tue Jan 22 16:27:07 -0800 2008
commit  7b059349b40e567e31463f3b3c5883c60e765b65
tree    f31c944f123a91c232ad8ba43429dc42b7a54f2a
cache_fu /
name age
history
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 Wed Jul 09 18:02:02 -0700 2008 cache methods are less invasive. [Rohith Ravi]
file install.rb Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
directory lib/ Loading commit data...
directory tasks/ Tue Jan 22 16:27:07 -0800 2008 first post [defunkt]
directory 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 ]
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server