class ActiveSupport::Cache::FileStore

def file_path_key(path)

Translate a file path into a key.
def file_path_key(path)
  fname = path[cache_path.to_s.size..-1].split(File::SEPARATOR, 4).last.delete(File::SEPARATOR)
  URI.decode_www_form_component(fname, Encoding::UTF_8)
end