aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/whiny_nil.rb
diff options
context:
space:
mode:
authorMarten Veldthuis <marten@veldthuis.com>2012-01-31 14:04:00 +0100
committerMarten Veldthuis <marten@veldthuis.com>2012-01-31 14:19:59 +0100
commit2380a2d76c9b73408ca248d2926a304d8e28158f (patch)
treefb18035c7feeb5eae171c14bf4b40157588bb7e2 /activesupport/lib/active_support/whiny_nil.rb
parentf3e1b21ca91afbd97f33d1e51808dd320d82b4de (diff)
downloadrails-2380a2d76c9b73408ca248d2926a304d8e28158f.tar.gz
rails-2380a2d76c9b73408ca248d2926a304d8e28158f.tar.bz2
rails-2380a2d76c9b73408ca248d2926a304d8e28158f.zip
Fix use of Deprecation without requiring active_support/deprecation in whiny nil
Diffstat (limited to 'activesupport/lib/active_support/whiny_nil.rb')
-rw-r--r--activesupport/lib/active_support/whiny_nil.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/whiny_nil.rb b/activesupport/lib/active_support/whiny_nil.rb
index a065233679..adf9a35ee6 100644
--- a/activesupport/lib/active_support/whiny_nil.rb
+++ b/activesupport/lib/active_support/whiny_nil.rb
@@ -1,3 +1,5 @@
+require 'active_support/deprecation'
+
# Extensions to +nil+ which allow for more helpful error messages for people who
# are new to Rails.
#