From b76f82d714e590c20370e72fa36fa574c4f17650 Mon Sep 17 00:00:00 2001 From: Yosuke Kabuto Date: Sat, 2 Jul 2016 21:46:52 +0900 Subject: Update CHANGELOG.md for #25628 [ci skip] Move new CHANGELOG entry top [ci skip] Remove parameter "options = nil" for #clear --- activesupport/lib/active_support/cache.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/cache.rb') diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb index 179ca13b49..a095d8664d 100644 --- a/activesupport/lib/active_support/cache.rb +++ b/activesupport/lib/active_support/cache.rb @@ -464,7 +464,7 @@ module ActiveSupport # The options hash is passed to the underlying cache implementation. # # All implementations may not support this method. - def clear(options = nil) + def clear raise NotImplementedError.new("#{self.class.name} does not support clear") end -- cgit v1.2.3