aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2018-01-31 10:50:55 +0530
committerGitHub <noreply@github.com>2018-01-31 10:50:55 +0530
commit9709b004b4127dfe33492df0a807ae501b78bfd6 (patch)
tree63f49ab6cbc8aec054be2aaff87d4a694c099b8a
parent71a392c465e58113d35121f0fec300599624cc6b (diff)
parentac3df409951430df79dc53f4e0acb13fc0f62cab (diff)
downloadrails-9709b004b4127dfe33492df0a807ae501b78bfd6.tar.gz
rails-9709b004b4127dfe33492df0a807ae501b78bfd6.tar.bz2
rails-9709b004b4127dfe33492df0a807ae501b78bfd6.zip
Merge pull request #31834 from sotayamashita/fix/typo
Fix typo
-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).