Rails assets precompile 的问题

weiwei5987 · June 06, 2013 · 2258 hits

http://edgeguides.rubyonrails.org/asset_pipeline.html#precompiling-assets

When using asset precompilation (the production default), you will need to ensure that your controller assets will be precompiled when loading them on a per page basis. By default .coffee and .scss files will not be precompiled on their own. This will result in false positives during development as these files will work just fine since assets will be compiled on the fly. When running in production however, you will see 500 errors since live compilation is turned off by default.

这几句该怎么理解啊,不懂求教。

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.