aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/reloadable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/reloadable.rb')
-rw-r--r--activesupport/lib/active_support/reloadable.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/reloadable.rb b/activesupport/lib/active_support/reloadable.rb
index 3f57723e15..baa8741b30 100644
--- a/activesupport/lib/active_support/reloadable.rb
+++ b/activesupport/lib/active_support/reloadable.rb
@@ -25,10 +25,11 @@ module Reloadable
end
def reloadable_classes
- included_in_classes.select { |klass| klass.reloadable? }
+ ActiveSupport::Deprecation.silence do
+ included_in_classes.select { |klass| klass.reloadable? }
+ end
end
- # Commented out so dispatcher doesn't warn. Should we just disable Reloadable?
- # deprecate :reloadable_classes
+ deprecate :reloadable_classes
end
# Captures the common pattern where a base class should not be reloaded,