You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/source/configuring.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3510,7 +3510,11 @@ Below is a comprehensive list of all the initializers found in Rails in the orde
3510
3510
3511
3511
*`action_mailer.compile_config_methods`: Initializes methods for the config settings specified so that they are quicker to access.
3512
3512
3513
-
*`set_load_path`: This initializer runs before `bootstrap_hook`. Adds paths specified by `config.paths.load_paths`and all autoload paths to `$LOAD_PATH`.
3513
+
*`set_load_path`: This initializer runs before `bootstrap_hook`. Adds paths
3514
+
specified by `config.paths.load_paths` to `$LOAD_PATH`. Andunless you set
3515
+
`config.add_autoload_paths_to_load_path` to `false`, it will also add all
3516
+
autoload paths specified by `config.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`.
0 commit comments