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:
parent
cb95cca026
commit
86919a6da1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue