Skip to content
This repository
Browse code

Pass array of addresses

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 5457770a36deef3047e37b5e5737b3fbc4705b00 1 parent 1a59aa5
Jeremy Kemper authored February 17, 2008
2  activesupport/lib/active_support/cache/mem_cache_store.rb
@@ -17,7 +17,7 @@ def initialize(*addresses)
17 17
         addresses = addresses.flatten
18 18
         addresses = ["localhost"] if addresses.empty?
19 19
         @addresses = addresses
20  
-        @data = MemCache.new(*addresses)
  20
+        @data = MemCache.new(addresses)
21 21
       end
22 22
 
23 23
       def read(key, options = nil)

0 notes on commit 5457770

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