aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-11-24 11:37:57 -0600
committerJoshua Peek <josh@joshpeek.com>2008-11-24 11:37:57 -0600
commit703fecb4fc81c3a975a53c9c4534f40193bd1ab9 (patch)
tree4351e2ad2c37fcca29f31f1feb3eba98b45d3a95 /activesupport
parent368117c0411a636a0cbfdc33fbf679c3e9233da7 (diff)
downloadrails-703fecb4fc81c3a975a53c9c4534f40193bd1ab9.tar.gz
rails-703fecb4fc81c3a975a53c9c4534f40193bd1ab9.tar.bz2
rails-703fecb4fc81c3a975a53c9c4534f40193bd1ab9.zip
Add LAZY env flag for testing autoload/lazy load feature
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb
index 6e1cda427b..b9b41ffa8b 100644
--- a/activesupport/lib/active_support.rb
+++ b/activesupport/lib/active_support.rb
@@ -56,4 +56,4 @@ require 'active_support/core_ext'
I18n.load_path << "#{File.dirname(__FILE__)}/active_support/locale/en.yml"
-ActiveSupport.load_all!
+ActiveSupport.load_all! unless ENV['LAZY']