Permalink
Browse files

Merge pull request #4790 from marten/fix-require-deprecation-in-activ…

…esupport

Fix Deprecation usage in ActiveSupport when requiring only parts of AS
  • Loading branch information...
2 parents 175cdd1 + 2380a2d commit 7beb5a71f39f08c2b41a8f9b39f64e126d72bd79 @josevalim josevalim committed Jan 31, 2012
View
2 activesupport/lib/active_support/base64.rb
@@ -1,3 +1,5 @@
+require 'active_support/deprecation'
+
begin
require 'base64'
rescue LoadError
View
2 activesupport/lib/active_support/concern.rb
@@ -1,3 +1,5 @@
+require 'active_support/deprecation'
+
module ActiveSupport
# A typical module looks like this:
#
View
1 activesupport/lib/active_support/message_verifier.rb
@@ -1,4 +1,5 @@
require 'active_support/base64'
+require 'active_support/deprecation'
require 'active_support/core_ext/object/blank'
module ActiveSupport
View
2 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.
#

0 comments on commit 7beb5a7

Please sign in to comment.