aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2016-11-13 22:16:54 +0000
committerAndrew White <andrew.white@unboxed.co>2016-11-13 22:16:54 +0000
commit8b646041be722f07b5c472df3603511962708d60 (patch)
treea6eb4ec7c06dd5312413b1e4900f9f1eb27932dc /activesupport/lib
parentefdb785d7fb791f9968242efe96fe3ae4538b38e (diff)
downloadrails-8b646041be722f07b5c472df3603511962708d60.tar.gz
rails-8b646041be722f07b5c472df3603511962708d60.tar.bz2
rails-8b646041be722f07b5c472df3603511962708d60.zip
Remove deprecated set_cache_value
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/cache/strategy/local_cache.rb8
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