expand_cache_key(key, namespace = nil)
Class Public methods
Expands out the key argument into a key that can be used for
the cache store. Optionally accepts a namespace, and all keys will be
scoped within that namespace.
If the key argument provided is an array, or responds to
to_a, then each of elements in the array will be turned into
parameters/keys and concatenated into a single key. For example:
expand_cache_key([:foo, :bar]) # => "foo/bar"
expand_cache_key([: