method

escape_key

Importance_1
v4.2.9 - Show latest stable - 0 notes - Class: ActiveSupport::Cache::MemCacheStore
escape_key(key) private

Memcache keys are binaries. So we need to force their encoding to binary before applying the regular expression to ensure we are escaping all characters properly.

Show source
Register or log in to add new notes.