From 0aa0538ffdc2086beb3cc6f84845860fab207592 Mon Sep 17 00:00:00 2001 From: Steven Jenkins Date: Thu, 19 Aug 2010 14:18:14 -0400 Subject: [PATCH] Fix typo in documentation for ActiveSupport::Cache::MemCacheStore [#5411 state:resolved] --- .../lib/active_support/cache/mem_cache_store.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/activesupport/lib/active_support/cache/mem_cache_store.rb b/activesupport/lib/active_support/cache/mem_cache_store.rb index 852defe..34051f2 100644 --- a/activesupport/lib/active_support/cache/mem_cache_store.rb +++ b/activesupport/lib/active_support/cache/mem_cache_store.rb @@ -51,7 +51,7 @@ module ActiveSupport # Instead of addresses one can pass in a MemCache-like object. For example: # # require 'memcached' # gem install memcached; uses C bindings to libmemcached - # ActiveSupport::Cache::MemCacheStore.new(Memcached::Rails.new("localhost:11211")) + # ActiveSupport::Cache::MemCacheStore.new(MemCache.new("localhost:11211")) def initialize(*addresses) addresses = addresses.flatten options = addresses.extract_options! -- 1.6.1.rc3