Make MemCacheStore work with Ruby 1.9 and -Ku

This commit is contained in:
Andrew White
2011-05-31 23:20:54 +01:00
parent f4e3b70e9c
commit de7fecbb39

View File

@@ -31,7 +31,7 @@ module ActiveSupport
DELETED = "DELETED\r\n"
end
ESCAPE_KEY_CHARS = /[\x00-\x20%\x7F-\xFF]/
ESCAPE_KEY_CHARS = /[\x00-\x20%\x7F-\xFF]/n
def self.build_mem_cache(*addresses)
addresses = addresses.flatten