diff options
author | Andrew White <andrew.white@unboxed.co> | 2016-11-13 22:14:31 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2016-11-13 22:14:31 +0000 |
commit | 08260c2373db50e2bf0e919282f8921542acb854 (patch) | |
tree | e264b6cc9264e5972823f21469f6c4ef6de6553e /activesupport/lib/active_support/cache | |
parent | 5b2ea20f562aa09ade8965f72c4075dd79609956 (diff) | |
download | rails-08260c2373db50e2bf0e919282f8921542acb854.tar.gz rails-08260c2373db50e2bf0e919282f8921542acb854.tar.bz2 rails-08260c2373db50e2bf0e919282f8921542acb854.zip |
Remove deprecated key_file_path
Diffstat (limited to 'activesupport/lib/active_support/cache')
-rw-r--r-- | activesupport/lib/active_support/cache/file_store.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activesupport/lib/active_support/cache/file_store.rb b/activesupport/lib/active_support/cache/file_store.rb index 1971ff182e..34456a594f 100644 --- a/activesupport/lib/active_support/cache/file_store.rb +++ b/activesupport/lib/active_support/cache/file_store.rb @@ -138,14 +138,6 @@ module ActiveSupport File.join(cache_path, DIR_FORMATTER % dir_1, DIR_FORMATTER % dir_2, *fname_paths) end - def key_file_path(key) - ActiveSupport::Deprecation.warn(<<-MESSAGE.strip_heredoc) - `key_file_path` is deprecated and will be removed from Rails 5.1. - Please use `normalize_key` which will return a fully resolved key or nothing. - MESSAGE - key - end - # 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 |