aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-05-17 17:22:45 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-05-17 17:46:12 +0530
commita39d144e32b5e50e39867b00e9730dd6648f8216 (patch)
tree2fad413132d46a7e76d897ce734ea667eb082bbf /guides/source
parenta3dd7a4f735374928e28709b2a09dcabe0d9df0c (diff)
downloadrails-a39d144e32b5e50e39867b00e9730dd6648f8216.tar.gz
rails-a39d144e32b5e50e39867b00e9730dd6648f8216.tar.bz2
rails-a39d144e32b5e50e39867b00e9730dd6648f8216.zip
copy edits assets guide [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/asset_pipeline.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/asset_pipeline.textile b/guides/source/asset_pipeline.textile
index 316f1b9171..105efe229e 100644
--- a/guides/source/asset_pipeline.textile
+++ b/guides/source/asset_pipeline.textile
@@ -545,7 +545,7 @@ config.assets.initialize_on_precompile = false
The +prefix+ change makes Rails use a different URL for serving assets in development mode, and pass all requests to Sprockets. The prefix is still set to +/assets+ in the production environment. Without this change, the application would serve the precompiled assets from +public/assets+ in development, and you would not see any local changes until you compile assets again.
-The +initialize_on_precompile+ change tell the precompile task to run without invoking Rails. This is because the precompile task runs in production mode by default, and without this change the task would attempt to connect to your specfied production database. Please note that you cannot have code in pipeline files that relies on Rails resources (such as the database) when compiling locally with this option.
+The +initialize_on_precompile+ change tells the precompile task to run without invoking Rails. This is because the precompile task runs in production mode by default, and will attempt to connect to your specified production database. Please note that you cannot have code in pipeline files that relies on Rails resources (such as the database) when compiling locally with this option.
You will also need to ensure that any compressors or minifiers are available on your development system.