diff options
author | José Valim <jose.valim@gmail.com> | 2012-08-01 18:23:11 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-08-21 14:46:12 -0300 |
commit | a1687e48cba2f0447f02248939cde05502562e87 (patch) | |
tree | 8128aeed24a85510ed71093f7b1a09ba04d7d800 /activesupport/lib/active_support.rb | |
parent | 11bc3487ab0a9a99de2542f0aa2777c88c7c2198 (diff) | |
download | rails-a1687e48cba2f0447f02248939cde05502562e87.tar.gz rails-a1687e48cba2f0447f02248939cde05502562e87.tar.bz2 rails-a1687e48cba2f0447f02248939cde05502562e87.zip |
Make ActiveSupport::Autoload local
Previously, ActiveSupport::Autoload was global and reserved
for usage inside Rails. This pull request makes it local,
fixes its test (they were not being run because its file
was named wrongly) and make it part of Rails public API.
Diffstat (limited to 'activesupport/lib/active_support.rb')
-rw-r--r-- | activesupport/lib/active_support.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb index 56d6676961..41d77ab6c1 100644 --- a/activesupport/lib/active_support.rb +++ b/activesupport/lib/active_support.rb @@ -37,7 +37,6 @@ module ActiveSupport autoload :LogSubscriber autoload :Notifications - # TODO: Narrow this list down eager_autoload do autoload :BacktraceCleaner autoload :BasicObject @@ -55,12 +54,12 @@ module ActiveSupport autoload :OptionMerger autoload :OrderedHash autoload :OrderedOptions - autoload :Rescuable autoload :StringInquirer autoload :TaggedLogging autoload :XmlMini end + autoload :Rescuable autoload :SafeBuffer, "active_support/core_ext/string/output_safety" autoload :TestCase end |