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 /actionmailer/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 'actionmailer/lib')
-rw-r--r-- | actionmailer/lib/action_mailer.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer.rb b/actionmailer/lib/action_mailer.rb index d442004011..dbb3fae13a 100644 --- a/actionmailer/lib/action_mailer.rb +++ b/actionmailer/lib/action_mailer.rb @@ -58,5 +58,4 @@ end autoload :MailHelper, 'action_mailer/mail_helper' autoload :TMail, 'action_mailer/vendor/tmail' -# TODO: Don't explicitly load entire lib -ActionMailer.load_all! +ActionMailer.load_all! unless ENV['LAZY'] |