aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-11-14 20:14:03 -0500
committerGitHub <noreply@github.com>2017-11-14 20:14:03 -0500
commit6c27341fbce0e2eb12550ef4aff2bd7ef5d9dda0 (patch)
tree8682251e114df75fdfc2acda61ca3ab04da794f6
parent2a26ff80e8a08c2ac22332b52f6534cb6534bae1 (diff)
parent9d87a172ca32d60526f2b4c4ace0c5dc333f8489 (diff)
downloadrails-6c27341fbce0e2eb12550ef4aff2bd7ef5d9dda0.tar.gz
rails-6c27341fbce0e2eb12550ef4aff2bd7ef5d9dda0.tar.bz2
rails-6c27341fbce0e2eb12550ef4aff2bd7ef5d9dda0.zip
Merge pull request #31156 from kwstannard/patch-1
Update configuring.md
-rw-r--r--guides/source/configuring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 2d03f0a61e..6e129a5680 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -1057,7 +1057,7 @@ After loading the framework and any gems in your application, Rails turns to loa
NOTE: You can use subfolders to organize your initializers if you like, because Rails will look into the whole file hierarchy from the initializers folder on down.
-TIP: If you have any ordering dependency in your initializers, you can control the load order through naming. Initializer files are loaded in alphabetical order by their path. For example, `01_critical.rb` will be loaded before `02_normal.rb`.
+TIP: While Rails supports numbering of initializer file names for load ordering purposes, a better technique is to place any code that need to load in a specific order within the same file. This reduces file name churn, makes dependencies more explicit, and can help surface new concepts within your application.
Initialization events
---------------------