diff options
-rw-r--r-- | activesupport/lib/active_support/deprecation.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb index d20151661b..e7b35fc74e 100644 --- a/activesupport/lib/active_support/deprecation.rb +++ b/activesupport/lib/active_support/deprecation.rb @@ -119,9 +119,7 @@ module ActiveSupport end class DeprecationProxy #:nodoc: - silence_warnings do - instance_methods.each { |m| undef_method m unless m =~ /^__/ } - end + instance_methods.each { |m| undef_method m unless m =~ /^__/ } # Don't give a deprecation warning on inspect since test/unit and error # logs rely on it for diagnostics. |