Hello...I've run into some behavior I didn't expect with the asset pipeline, running rails 3.1.0 (released version).
In my environments/production.rb I have:
config.assets.compile = false config.assets.digest = true
When I precompile my assets, all seems to work fine; it generates assets with digests in their name, and I can retrieve them with something like
/assets/tvlogo1-0ac8bb18dbc4d72f65d626985535fd22.png
When I retrieve the above, it's served from apache.
Somewhat unexpectedly, I can also successfully retrieve:
/assets/tvlogo1.png
There is no such file in the public/assets directory, but it successfully retrieves the file and serves it through rack/rails (I can see the request in the production.log file).
Is this expected behavior?
It's convenient, in that I can use my application.css from, say, static HTML files like my 404.html and 500.html pages, but I didn't expect it to work given that I have config.assets.compile=false.
Thanks,
Greg