aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-02-17 20:07:40 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2008-02-17 20:07:40 +0000
commit5457770a36deef3047e37b5e5737b3fbc4705b00 (patch)
tree4bdc13890a85c21b634db733682e41f35c40684f /activesupport/lib
parent1a59aa5196703fd0577e6bd27a33fd3906d1c105 (diff)
downloadrails-5457770a36deef3047e37b5e5737b3fbc4705b00.tar.gz
rails-5457770a36deef3047e37b5e5737b3fbc4705b00.tar.bz2
rails-5457770a36deef3047e37b5e5737b3fbc4705b00.zip
Pass array of addresses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/cache/mem_cache_store.rb2
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 3fd9f37cce..71b28ca6f5 100644
--- a/activesupport/lib/active_support/cache/mem_cache_store.rb
+++ b/activesupport/lib/active_support/cache/mem_cache_store.rb
@@ -17,7 +17,7 @@ module ActiveSupport
addresses = addresses.flatten
addresses = ["localhost"] if addresses.empty?
@addresses = addresses
- @data = MemCache.new(*addresses)
+ @data = MemCache.new(addresses)
end
def read(key, options = nil)