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

Warning on doc for assets under lib|vendor not precompiling

This commit is contained in:
Federico Soria 2013-08-26 11:31:25 -07:00
parent 744ed5c393
commit 9cd453516e

View file

@ -235,6 +235,11 @@ scope of the application or those libraries which are shared across applications
* `vendor/assets` is for assets that are owned by outside entities, such as * `vendor/assets` is for assets that are owned by outside entities, such as
code for JavaScript plugins and CSS frameworks. code for JavaScript plugins and CSS frameworks.
WARNING: If you are upgrading from Rails 3, please take into account that assets
under `lib/assets` or `vendor/assets` are available for inclusion via the
application manifests but no longer part of the precompile array. See
[Precompiling Assets](#precompiling-assets) for guidance.
#### Search Paths #### Search Paths
When a file is referenced from a manifest or a helper, Sprockets searches the When a file is referenced from a manifest or a helper, Sprockets searches the