aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-12-16 10:42:30 -0800
committerZachary Scott <e@zzak.io>2014-12-16 10:42:30 -0800
commite91b182b96beaf7ca39352dc99bc250e023c2c9a (patch)
tree3ee7a479bc5b51262286be2dc2b807e9ccb60189
parentefbbb305348ac10450446ba5c3a952276ce54d0a (diff)
parentc6fcf8102a81bdcb13c89517ce51aea8ad6c5162 (diff)
downloadrails-e91b182b96beaf7ca39352dc99bc250e023c2c9a.tar.gz
rails-e91b182b96beaf7ca39352dc99bc250e023c2c9a.tar.bz2
rails-e91b182b96beaf7ca39352dc99bc250e023c2c9a.zip
Merge pull request #18055 from jonatack/patch-8
"backoffice" -> "back office", "lookup" -> "look up" [ci skip]
-rw-r--r--guides/source/constant_autoloading_and_reloading.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/constant_autoloading_and_reloading.md b/guides/source/constant_autoloading_and_reloading.md
index 5f435ddbd8..ab8ef399e7 100644
--- a/guides/source/constant_autoloading_and_reloading.md
+++ b/guides/source/constant_autoloading_and_reloading.md
@@ -404,7 +404,7 @@ the idea is that when a constant like `Post` is hit and missing, if there's a
it, and have `Post` defined as a side-effect.
Alright, Rails has a collection of directories similar to `$LOAD_PATH` in which
-to lookup that `post.rb`. That collection is called `autoload_paths` and by
+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,
@@ -644,7 +644,7 @@ to trigger the heuristic is defined in the conflicting place.
When a module acts as a namespace, Rails does not require the application to
defines a file for it, a directory matching the namespace is enough.
-Suppose an application has a backoffice whose controllers are stored in
+Suppose an application has a back office whose controllers are stored in
`app/controllers/admin`. If the `Admin` module is not yet loaded when
`Admin::UsersController` is hit, Rails needs first to autoload the constant
`Admin`.