aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorEsad Hajdarevic <esad@esse.at>2011-09-20 23:02:02 +0200
committerEsad Hajdarevic <esad@esse.at>2011-09-20 23:02:02 +0200
commit21d27f60694a52bf9de010adde065ceb69a50562 (patch)
tree26684419fb5235da464708bcd1db7f8a9b4b8fbf /activesupport/lib
parent7dbf6960c090c67073f6c68f32e418b26f9a93ef (diff)
downloadrails-21d27f60694a52bf9de010adde065ceb69a50562.tar.gz
rails-21d27f60694a52bf9de010adde065ceb69a50562.tar.bz2
rails-21d27f60694a52bf9de010adde065ceb69a50562.zip
Add a missing require for 'active_support/deprecation' in Module#deprecate
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/module/deprecation.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/deprecation.rb b/activesupport/lib/active_support/core_ext/module/deprecation.rb
index 5a5b4e3f80..9c169a2598 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
# Declare that a method has been deprecated.
# deprecate :foo