diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-11-24 11:37:57 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-11-24 11:37:57 -0600 |
commit | 703fecb4fc81c3a975a53c9c4534f40193bd1ab9 (patch) | |
tree | 4351e2ad2c37fcca29f31f1feb3eba98b45d3a95 /activerecord/lib | |
parent | 368117c0411a636a0cbfdc33fbf679c3e9233da7 (diff) | |
download | rails-703fecb4fc81c3a975a53c9c4534f40193bd1ab9.tar.gz rails-703fecb4fc81c3a975a53c9c4534f40193bd1ab9.tar.bz2 rails-703fecb4fc81c3a975a53c9c4534f40193bd1ab9.zip |
Add LAZY env flag for testing autoload/lazy load feature
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb index 584349659e..612e2313ae 100644 --- a/activerecord/lib/active_record.rb +++ b/activerecord/lib/active_record.rb @@ -72,4 +72,4 @@ end require 'active_record/i18n_interpolation_deprecation' I18n.load_path << File.dirname(__FILE__) + '/active_record/locale/en.yml' -ActiveRecord.load_all! +ActiveRecord.load_all! unless ENV['LAZY'] |