aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/autoloading_and_reloading_constants.md
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-04-20 20:35:34 -0400
committerJon Moss <maclover7@users.noreply.github.com>2016-04-20 20:35:34 -0400
commit778ab950084ea00f6ce0c731157e8e5cc22d1bf7 (patch)
tree4c73d88bd8759c3a4cfb2be9a4546a709f2d04a4 /guides/source/autoloading_and_reloading_constants.md
parent115efeb036d4d56186ba7b0b64750cdc57471b59 (diff)
parent610de88b1cbd7a9ee462d646c9d8bf1e3ea73fc8 (diff)
downloadrails-778ab950084ea00f6ce0c731157e8e5cc22d1bf7.tar.gz
rails-778ab950084ea00f6ce0c731157e8e5cc22d1bf7.tar.bz2
rails-778ab950084ea00f6ce0c731157e8e5cc22d1bf7.zip
Merge pull request #24662 from tcopeland/autoloading_typo
Fix small typos [ci skip]
Diffstat (limited to 'guides/source/autoloading_and_reloading_constants.md')
-rw-r--r--guides/source/autoloading_and_reloading_constants.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/autoloading_and_reloading_constants.md b/guides/source/autoloading_and_reloading_constants.md
index de0fa2fdc0..246fde69d5 100644
--- a/guides/source/autoloading_and_reloading_constants.md
+++ b/guides/source/autoloading_and_reloading_constants.md
@@ -524,7 +524,7 @@ On the contrary, if `ApplicationController` is unknown, the constant is
considered missing and an autoload is going to be attempted by Rails.
In order to load `ApplicationController`, Rails iterates over `autoload_paths`.
-First checks if `app/assets/application_controller.rb` exists. If it does not,
+First it checks if `app/assets/application_controller.rb` exists. If it does not,
which is normally the case, it continues and finds
`app/controllers/application_controller.rb`.
@@ -624,7 +624,7 @@ file is loaded. If the file actually defines `Post` all is fine, otherwise
### Qualified References
When a qualified constant is missing Rails does not look for it in the parent
-namespaces. But there is a caveat: When a constant is missing, Rails is
+namespaces. But there is a caveat: when a constant is missing, Rails is
unable to tell if the trigger was a relative reference or a qualified one.
For example, consider