diff options
author | Akira Matsuda <ronnie@dio.jp> | 2015-03-27 16:19:45 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2015-03-27 16:19:45 +0900 |
commit | c31c40208b16ee446ed69464792b5976e0ae8566 (patch) | |
tree | ace81d630217ea921fb36d7fd310c06d5f94e518 /activesupport | |
parent | e1b967e7e0edc0f59b49558d2c3d4afd9125a59f (diff) | |
download | rails-c31c40208b16ee446ed69464792b5976e0ae8566.tar.gz rails-c31c40208b16ee446ed69464792b5976e0ae8566.tar.bz2 rails-c31c40208b16ee446ed69464792b5976e0ae8566.zip |
Missing require 'active_support/deprecation'
Diffstat (limited to 'activesupport')
3 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 37f9494272..08520b1077 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -5,6 +5,7 @@ require 'active_support/core_ext/class/attribute' require 'active_support/core_ext/kernel/reporting' require 'active_support/core_ext/kernel/singleton_class' require 'active_support/core_ext/string/filters' +require 'active_support/deprecation' require 'thread' module ActiveSupport diff --git a/activesupport/lib/active_support/core_ext/module/aliasing.rb b/activesupport/lib/active_support/core_ext/module/aliasing.rb index 25e138264e..dcc1cd5ba9 100644 --- a/activesupport/lib/active_support/core_ext/module/aliasing.rb +++ b/activesupport/lib/active_support/core_ext/module/aliasing.rb @@ -1,3 +1,5 @@ +require 'active_support/deprecation' + class Module # Encapsulates the common pattern of: # diff --git a/activesupport/lib/active_support/core_ext/module/deprecation.rb b/activesupport/lib/active_support/core_ext/module/deprecation.rb index 56d670fbe8..5134b5ad41 100644 --- a/activesupport/lib/active_support/core_ext/module/deprecation.rb +++ b/activesupport/lib/active_support/core_ext/module/deprecation.rb @@ -1,3 +1,5 @@ +require 'active_support/deprecation' + class Module # deprecate :foo # deprecate bar: 'message' |