Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Kallen committed Dec 11, 2008
1 parent e2cdf83 commit 11b222d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.markdown
Expand Up @@ -137,7 +137,8 @@ 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'

config = YAML.load(IO.read(".../config/memcache.yml"))[RAILS_ENV]
$memcache = MemCache.new(config)
$memcache.servers = config['servers']
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions lib/cache_money.rb
@@ -0,0 +1 @@
require 'cache-money'
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -4,7 +4,7 @@
require 'rubygems'
require 'spec'
require 'pp'
require 'cash'
require 'cache_money'
require 'memcache'
require File.join(dir, '../config/environment')

Expand Down

0 comments on commit 11b222d

Please sign in to comment.