Skip to content
Browse files

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
  • Loading branch information...
1 parent 0c94868 commit c08997405d1329e7cb1ade70ca2b26e47a8d09da @NZKoz NZKoz committed Oct 24, 2006
Showing with 7 additions and 1 deletion.
  1. +2 −0 railties/CHANGELOG
  2. +5 −1 railties/environments/environment.rb
View
2 railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
+
* Update scaffold to use new form_tag block functionality. Closes #6480. [BobSilva]
* Plugin generator: check for class collisions. #4833 [vinbarnes@gmail.com]
View
6 railties/environments/environment.rb
@@ -19,9 +19,13 @@
# 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

0 comments on commit c089974

Please sign in to comment.
Something went wrong with that request. Please try again.