autoloading guide: specify autoload paths are set when the app boots [ci skip]

This commit is contained in:
Xavier Noria 2016-05-26 07:42:17 +02:00
parent e0dbf155ed
commit 28a7c98fe6

@ -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.