diff options
author | Ryan Bigg <git@ryanbigg.com> | 2015-04-23 13:05:30 +1000 |
---|---|---|
committer | Ryan Bigg <git@ryanbigg.com> | 2015-05-21 16:50:41 +1000 |
commit | f9640b090019d9cff899b28a8c8d4f638ad04acb (patch) | |
tree | bb4ab3b856154bed774537f09a2cb2fdfb288cf2 /guides/source | |
parent | 40ff5087ec3c932d2b8f79425d8b741f7ed3f362 (diff) | |
download | rails-f9640b090019d9cff899b28a8c8d4f638ad04acb.tar.gz rails-f9640b090019d9cff899b28a8c8d4f638ad04acb.tar.bz2 rails-f9640b090019d9cff899b28a8c8d4f638ad04acb.zip |
Remove redundant 'Rails' from Rails::AppRailsLoader constant
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/initialization.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/initialization.md b/guides/source/initialization.md index 199545a3b3..c0cd3a1640 100644 --- a/guides/source/initialization.md +++ b/guides/source/initialization.md @@ -53,11 +53,11 @@ require "rails/cli" ``` The file `railties/lib/rails/cli` in turn calls -`Rails::AppRailsLoader.exec_app_rails`. +`Rails::AppLoader.exec_app`. -### `railties/lib/rails/app_rails_loader.rb` +### `railties/lib/rails/app_loader.rb` -The primary goal of the function `exec_app_rails` is to execute your app's +The primary goal of the function `exec_app` is to execute your app's `bin/rails`. If the current directory does not have a `bin/rails`, it will navigate upwards until it finds a `bin/rails` executable. Thus one can invoke a `rails` command from anywhere inside a rails application. |