Rails 3.1 asset pipeline: Where is the location of the compiled files?
vendor/assets/
is empty. Can't seem to find the compiled files anywhere.
EDIT: Unfortunately they are not in public/assets
If you run:
rake assets:precompile
they write to 'public/assets'.
If you don't precompile and let rails serve assets on the fly, then they write on the first request of each action to 'tmp/cache/assets'.
The asset pipeline Rails guide calls it live compilation.
http://ryanbigg.com/guides/asset_pipeline.html#asset-organization
They should be in public/assets when compiled and are appended with an md5 hash.
vendor/assets is where I would recommend putting assets that are not maintained by you.
They should be in public/assets
精彩评论