There are some classic image png files located in app/assets/images/...
However, in production, after running
rake assets:precompile
The images do not appear! Upon inspecting the CSS source code, I noticed that
.logo {
background-image: url("/assets/logos/logo.png");
... }
the same code is present in my css file.
But during assets precompilation, I observed:
/var/www/demos/public/assets/logos/logo-741199bb95821c02bca7c68ca66ff5f5.png
So why doesn't Rails automatically update the link name with the added hash?
If I open a new tab with the direct URL :
http://domain.com/assets/logos/logo-741199bb95821c02bca7c68ca66ff5f5.png
it works fine...
How did I miss setting up this automatic link modification?