diff options
-rw-r--r-- | guides/source/constant_autoloading_and_reloading.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/constant_autoloading_and_reloading.md b/guides/source/constant_autoloading_and_reloading.md index 03a4f2563f..a6b270e06d 100644 --- a/guides/source/constant_autoloading_and_reloading.md +++ b/guides/source/constant_autoloading_and_reloading.md @@ -405,7 +405,7 @@ next directory of the list. If the list gets exhausted, `LoadError` is raised. We are going to cover how constant autoloading works in more detail later, but the idea is that when a constant like `Post` is hit and missing, if there is a *post.rb* file, for example in *app/models*, Rails will find it, evaluate it -and have `Post` defined as a side-effect. +and allocate the class `Post` as a side-effect. At this point, Rails has a collection of directories similar to `$LOAD_PATH` in which to look up *post.rb*. That collection is called `autoload_paths` and by |