Skip to content
Browse files

minor corrections

  • Loading branch information...
1 parent 7503423 commit d628503ef9bff6b437f7df4ed423f63c296877c9 Nick Kallen committed Dec 11, 2008
Showing with 4 additions and 3 deletions.
  1. +2 −2 README.markdown
  2. +2 −1 cache-money.gemspec
View
4 README.markdown
@@ -136,9 +136,9 @@ Sometimes your code will request the same cache key twice in one request. You ca
#### Step 1: `config/initializers/cache_money.rb` ####
Place this in `config/initializers/cache_money.rb`
- require 'cache-money'
+ require 'cache_money'
- config = YAML.load(IO.read(File.join(RAILS_ROOT, "../config/memcache.yml"))[RAILS_ENV]
+ config = YAML.load(IO.read(File.join(RAILS_ROOT, "config", "memcache.yml")))[RAILS_ENV]
$memcache = MemCache.new(config)
$memcache.servers = config['servers']
$lock = Cash::Lock.new($memcache)
View
3 cache-money.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "cache-money"
- s.version = "0.2.2"
+ s.version = "0.2.3"
s.date = "2008-11-24"
s.summary = "Write-through and Read-through Cacheing for ActiveRecord"
s.email = "nick@twitter.com"
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
"lib/cash/query/calculation.rb",
"lib/cash/query/primary_key.rb",
"lib/cash/query/select.rb",
+ "lib/cash/request.rb",
"lib/cash/transactional.rb",
"lib/cash/util/array.rb",
"lib/cash/write_through.rb",

0 comments on commit d628503

Please sign in to comment.
Something went wrong with that request. Please try again.