aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/asset_pipeline.textile
diff options
context:
space:
mode:
authorHendy Tanata <htanata@gmail.com>2012-04-04 22:33:09 +0800
committerHendy Tanata <htanata@gmail.com>2012-04-04 22:33:09 +0800
commitbbe31cc5239eb1a0838b933e6ce10d2dd8a5ccd2 (patch)
treec63a02c19aa45003d040140adee20b99ed32226f /guides/source/asset_pipeline.textile
parent88f0c205aa3c5594bac090117e52377bd5b34369 (diff)
downloadrails-bbe31cc5239eb1a0838b933e6ce10d2dd8a5ccd2.tar.gz
rails-bbe31cc5239eb1a0838b933e6ce10d2dd8a5ccd2.tar.bz2
rails-bbe31cc5239eb1a0838b933e6ce10d2dd8a5ccd2.zip
Improve config.assets.initialize_on_precompile guide.
Diffstat (limited to 'guides/source/asset_pipeline.textile')
-rw-r--r--guides/source/asset_pipeline.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.textile b/guides/source/asset_pipeline.textile
index 464788f30f..982c4aa096 100644
--- a/guides/source/asset_pipeline.textile
+++ b/guides/source/asset_pipeline.textile
@@ -409,9 +409,9 @@ cannot see application objects or methods. *Heroku requires this to be false.*
WARNING: If you set +config.assets.initialize_on_precompile+ to false, be sure to
test +rake assets:precompile+ locally before deploying. It may expose bugs where
your assets reference application objects or methods, since those are still
-in scope in development mode regardless of the value of this flag. Changing this flag also effects
+in scope in development mode regardless of the value of this flag. Changing this flag also affects
engines. Engines can define assets for precompilation as well. Since the complete environment is not loaded,
-engines (or other gems) will not be loaded which can cause missing assets.
+engines (or other gems) will not be loaded, which can cause missing assets.
Capistrano (v2.8.0 and above) includes a recipe to handle this in deployment. Add the following line to +Capfile+: