diff options
author | Xavier Noria <fxn@hashref.com> | 2016-05-26 07:42:17 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-05-26 07:42:31 +0200 |
commit | 28a7c98fe665e40f40d4c69c0729ad0c0436bef2 (patch) | |
tree | 8ba344dc28c3153da601fe3a6ff81c9747de53a2 | |
parent | e0dbf155ed8f1047f5bca22a4b3718f063d968a0 (diff) | |
download | rails-28a7c98fe665e40f40d4c69c0729ad0c0436bef2.tar.gz rails-28a7c98fe665e40f40d4c69c0729ad0c0436bef2.tar.bz2 rails-28a7c98fe665e40f40d4c69c0729ad0c0436bef2.zip |
autoloading guide: specify autoload paths are set when the app boots [ci skip]
-rw-r--r-- | guides/source/autoloading_and_reloading_constants.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/guides/source/autoloading_and_reloading_constants.md b/guides/source/autoloading_and_reloading_constants.md index 246fde69d5..61657023e7 100644 --- a/guides/source/autoloading_and_reloading_constants.md +++ b/guides/source/autoloading_and_reloading_constants.md @@ -449,9 +449,10 @@ Alright, Rails has a collection of directories similar to `$LOAD_PATH` in which to look up `post.rb`. That collection is called `autoload_paths` and by default it contains: -* All subdirectories of `app` in the application and engines. For example, - `app/controllers`. They do not need to be the default ones, any custom - directories like `app/workers` belong automatically to `autoload_paths`. +* All subdirectories of `app` in the application and engines present at boot + time. For example, `app/controllers`. They do not need to be the default + ones, any custom directories like `app/workers` belong automatically to + `autoload_paths`. * Any existing second level directories called `app/*/concerns` in the application and engines. |