diff options
author | Michael Koziarski <michael@koziarski.com> | 2006-10-24 07:26:18 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2006-10-24 07:26:18 +0000 |
commit | c08997405d1329e7cb1ade70ca2b26e47a8d09da (patch) | |
tree | cbc55d38993cc35acc47aca49155dadd8f67ca59 /railties/environments | |
parent | 0c94868f67404a7989d4743910be1752dd67c58d (diff) | |
download | rails-c08997405d1329e7cb1ade70ca2b26e47a8d09da.tar.gz rails-c08997405d1329e7cb1ade70ca2b26e47a8d09da.tar.bz2 rails-c08997405d1329e7cb1ade70ca2b26e47a8d09da.zip |
Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r-- | railties/environments/environment.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index 0bc8fda299..71cb1667f4 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -19,9 +19,13 @@ Rails::Initializer.run do |config| # Only load the plugins named here, by default all plugins in vendor/plugins are loaded # config.plugins = %W( exception_notification ssl_requirement ) - # Add additional load paths (these paths will be subject to auto-loading of constants) + # Add additional load paths (these are searched when explicitly require something) # config.load_paths += %W( #{RAILS_ROOT}/extras ) + # Add additional autoloading load paths + # (these paths will be subject to auto-loading of constants) + # config.autoload_paths += Dir["#{RAILS_ROOT}/models/*/"] + # Force all environments to use the same logger level # (by default production uses :info, the others :debug) # config.log_level = :debug |