diff options
Diffstat (limited to 'activesupport/lib/active_support/deprecation.rb')
-rw-r--r-- | activesupport/lib/active_support/deprecation.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb index 845fb4d62b..22ff90642a 100644 --- a/activesupport/lib/active_support/deprecation.rb +++ b/activesupport/lib/active_support/deprecation.rb @@ -65,6 +65,9 @@ module ActiveSupport mattr_accessor :behavior self.behavior = default_behavior + # Warnings are not silenced by default. + self.silenced = false + module ClassMethods # Declare that a method has been deprecated. def deprecate(*method_names) |