aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorArthur Nogueira Neves <github@arthurnn.com>2015-11-28 12:37:45 -0500
committerArthur Nogueira Neves <github@arthurnn.com>2015-11-28 12:37:45 -0500
commit3e633c7b3982d971b877d58df80663cdf6a79f83 (patch)
treea96c9396c108b0d3e8467b347cbc19d6c9f91b11 /guides
parent3513f80e534da1f22537539b172caf8ced46fe63 (diff)
parent02d57b6270e82ea55574df44db64936f3904c740 (diff)
downloadrails-3e633c7b3982d971b877d58df80663cdf6a79f83.tar.gz
rails-3e633c7b3982d971b877d58df80663cdf6a79f83.tar.bz2
rails-3e633c7b3982d971b877d58df80663cdf6a79f83.zip
Merge pull request #22315 from takatoshiono/fix-configuring-doc
Fix set_autoload_paths and set_load_path document [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 09f7007603..a286a7c5d2 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -1045,9 +1045,9 @@ Below is a comprehensive list of all the initializers found in Rails in the orde
* `action_mailer.compile_config_methods` Initializes methods for the config settings specified so that they are quicker to access.
-* `set_load_path` This initializer runs before `bootstrap_hook`. Adds the `vendor`, `lib`, all directories of `app` and any paths specified by `config.load_paths` to `$LOAD_PATH`.
+* `set_load_path` This initializer runs before `bootstrap_hook`. Adds paths specified by `config.load_paths` and all autoload paths to `$LOAD_PATH`.
-* `set_autoload_paths` This initializer runs before `bootstrap_hook`. Adds all sub-directories of `app` and paths specified by `config.autoload_paths` to `ActiveSupport::Dependencies.autoload_paths`.
+* `set_autoload_paths` This initializer runs before `bootstrap_hook`. Adds all sub-directories of `app` and paths specified by `config.autoload_paths`, `config.eager_load_paths` and `config.autoload_once_paths` to `ActiveSupport::Dependencies.autoload_paths`.
* `add_routing_paths` Loads (by default) all `config/routes.rb` files (in the application and railties, including engines) and sets up the routes for the application.