diff options
Diffstat (limited to 'railties/environments/environment.rb')
-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 |