class ActiveSupport::CachingKeyGenerator

def generate_key(*args)

Returns a derived key suitable for use.
def generate_key(*args)
  @cache_keys[args.join("|")] ||= @key_generator.generate_key(*args)
end