Skip to content

Commit

Permalink
Clarified that the config.assets.initialize_on_precompile directive n…
Browse files Browse the repository at this point in the history
…eeds to be set in application.rb
  • Loading branch information
plindelauf committed Oct 17, 2011
1 parent cb95cca commit 86919a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/asset_pipeline.textile
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ bundle exec rake assets:precompile
</plain>

For faster asset precompiles, you can partially load your application by setting
+config.assets.initialize_on_precompile+ to false, though in that case templates
+config.assets.initialize_on_precompile+ to false in +config/application.rb+, though in that case templates
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
Expand Down

0 comments on commit 86919a6

Please sign in to comment.