diff options
author | Pascal Lindelauf <pascal@lindelauf.com> | 2011-10-17 14:45:45 +0200 |
---|---|---|
committer | Pascal Lindelauf <pascal@lindelauf.com> | 2011-10-17 14:45:45 +0200 |
commit | 86919a6da17e164e6bb9e1f355052e552929141e (patch) | |
tree | 3704d9267461637198c04c738369bdb8d544176c /railties/guides/source | |
parent | cb95cca02674acf1f52d4c8f1a70fa22617e35d9 (diff) | |
download | rails-86919a6da17e164e6bb9e1f355052e552929141e.tar.gz rails-86919a6da17e164e6bb9e1f355052e552929141e.tar.bz2 rails-86919a6da17e164e6bb9e1f355052e552929141e.zip |
Clarified that the config.assets.initialize_on_precompile directive needs to be set in application.rb
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/asset_pipeline.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile index afaf0f6fe3..6eb4ae49e3 100644 --- a/railties/guides/source/asset_pipeline.textile +++ b/railties/guides/source/asset_pipeline.textile @@ -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 |