grantr / cached_associations
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
grantr (author)
Sun May 11 00:40:42 -0700 2008
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
uninstall.rb |
README
Automatically cache ActiveRecord associations in memcached. class User < ActiveRecord::Base acts_as_cached belongs_to_cached :group end class Group < ActiveRecord::Base acts_as_cached end Instead of caching the association objects and writing expiration sweepers, we cache the association ids and load the objects from memcached by id. cache_fu is required (for now)

