diff options
author | Mehmet Emin İNAÇ <mehmetemininac@gmail.com> | 2015-04-13 11:56:50 +0300 |
---|---|---|
committer | Mehmet Emin İNAÇ <mehmetemininac@gmail.com> | 2015-04-13 11:56:50 +0300 |
commit | 45747a557241041d4ec4da5b6947ebd625601e99 (patch) | |
tree | 0467063246573a5fb514166acb66ea0933bdabaa | |
parent | 4825042a1c8d5527a7da468937d03f7e07362ce1 (diff) | |
download | rails-45747a557241041d4ec4da5b6947ebd625601e99.tar.gz rails-45747a557241041d4ec4da5b6947ebd625601e99.tar.bz2 rails-45747a557241041d4ec4da5b6947ebd625601e99.zip |
Fix the wrong documentation about config.autoload_paths [ci skip]
config.autoload_paths is not changeable from environment specific configuration files.
-rw-r--r-- | guides/source/autoloading_and_reloading_constants.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/guides/source/autoloading_and_reloading_constants.md b/guides/source/autoloading_and_reloading_constants.md index c6149abcba..2b6d7e4044 100644 --- a/guides/source/autoloading_and_reloading_constants.md +++ b/guides/source/autoloading_and_reloading_constants.md @@ -466,9 +466,7 @@ by adding this to `config/application.rb`: config.autoload_paths << "#{Rails.root}/lib" ``` -`config.autoload_paths` is accessible from environment-specific configuration -files, but any changes made to it outside `config/application.rb` don't have any -effect. +`config.autoload_paths` is not changeable from environment-specific configuration files. The value of `autoload_paths` can be inspected. In a just generated application it is (edited): |