file_path_key(path)
Translate a file path into a key.
# File activesupport/lib/active_support/cache/file_store.rb, line 148 def file_path_key(path) fname = path[cache_path.to_s.size..-1].split(File::SEPARATOR, 4).last URI.decode_www_form_component(fname, Encoding::UTF_8) end