diff options
author | Andrew White <andrew.white@unboxed.co> | 2016-11-13 22:16:54 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2016-11-13 22:16:54 +0000 |
commit | 8b646041be722f07b5c472df3603511962708d60 (patch) | |
tree | a6eb4ec7c06dd5312413b1e4900f9f1eb27932dc /activesupport/lib/active_support/cache/strategy | |
parent | efdb785d7fb791f9968242efe96fe3ae4538b38e (diff) | |
download | rails-8b646041be722f07b5c472df3603511962708d60.tar.gz rails-8b646041be722f07b5c472df3603511962708d60.tar.bz2 rails-8b646041be722f07b5c472df3603511962708d60.zip |
Remove deprecated set_cache_value
Diffstat (limited to 'activesupport/lib/active_support/cache/strategy')
-rw-r--r-- | activesupport/lib/active_support/cache/strategy/local_cache.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activesupport/lib/active_support/cache/strategy/local_cache.rb b/activesupport/lib/active_support/cache/strategy/local_cache.rb index f41cc23eb0..7652cae201 100644 --- a/activesupport/lib/active_support/cache/strategy/local_cache.rb +++ b/activesupport/lib/active_support/cache/strategy/local_cache.rb @@ -124,14 +124,6 @@ module ActiveSupport super end - def set_cache_value(value, name, amount, options) # :nodoc: - ActiveSupport::Deprecation.warn(<<-MESSAGE.strip_heredoc) - `set_cache_value` is deprecated and will be removed from Rails 5.1. - Please use `write_cache_value` instead. - MESSAGE - write_cache_value name, value, options - end - def write_cache_value(name, value, options) # :nodoc: name = normalize_key(name, options) cache = local_cache |