aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/autoloading_and_reloading_constants.md
diff options
context:
space:
mode:
authorSam Yamashita <1587053+sotayamashita@users.noreply.github.com>2018-01-31 13:52:56 +0900
committerSam Yamashita <1587053+sotayamashita@users.noreply.github.com>2018-01-31 13:52:56 +0900
commitac3df409951430df79dc53f4e0acb13fc0f62cab (patch)
tree92e17b8359a90b03b58e810bac787308e00eb4d2 /guides/source/autoloading_and_reloading_constants.md
parent1c383df324fdf0b68b3f54a649eb7d2a4f55bcb7 (diff)
downloadrails-ac3df409951430df79dc53f4e0acb13fc0f62cab.tar.gz
rails-ac3df409951430df79dc53f4e0acb13fc0f62cab.tar.bz2
rails-ac3df409951430df79dc53f4e0acb13fc0f62cab.zip
Fix typo
Diffstat (limited to 'guides/source/autoloading_and_reloading_constants.md')
-rw-r--r--guides/source/autoloading_and_reloading_constants.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/autoloading_and_reloading_constants.md b/guides/source/autoloading_and_reloading_constants.md
index 8d28007671..f7f048e271 100644
--- a/guides/source/autoloading_and_reloading_constants.md
+++ b/guides/source/autoloading_and_reloading_constants.md
@@ -1346,5 +1346,5 @@ On a development machine you can then have your tests running with whatever is f
With the [Spring](https://github.com/rails/spring) pre-loader (included with new rails apps), you ideally keep `config.eager_load = false` as per development. Sometimes you may end up with a hybrid configuration (`config.eager_load = true`, `config.cache_classes = true` AND `config.enable_dependency_loading = true`), see [spring issue](https://github.com/rails/spring/issues/519#issuecomment-348324369). However it might be simpler to keep the same configuration as development, and work out whatever it is that is causing autoloading to fail (perhaps by the results of your CI test results).
-Occasionally you may need to explictly eager_load by using `Rails
+Occasionally you may need to explicitly eager_load by using `Rails
.application.eager_load!` in the setup of your tests -- this might occur if your [tests involve multithreading](https://stackoverflow.com/questions/25796409/in-rails-how-can-i-eager-load-all-code-before-a-specific-rspec-test).