Skip to content

Commit

Permalink
minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Kallen committed Dec 11, 2008
1 parent 7503423 commit d628503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion 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"
Expand All @@ -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",
Expand Down

0 comments on commit d628503

Please sign in to comment.