1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Clarified that the config.assets.initialize_on_precompile directive needs to be set in application.rb

This commit is contained in:
Pascal Lindelauf 2011-10-17 14:45:45 +02:00
parent cb95cca026
commit 86919a6da1

View file

@ -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