When I run assets:precompile, asset helpers generate references to older assets versions. It happens only when manifest.yml already exists and lists older asset.
I'm using all application defaults that come with rails-3-1-stable branch. Meaning compile is off, digest is on in production environment. You can find the whole app code here.
Issue is really easy to replicate:
The workarounds seems to be to either run assets:precompile again, or simply delete manifest file before running assets:precompile task.
can you test with the clear-digests-on-precompile of my Rails fork?
Avoid use of existing precompiled assets during rake assets:precompil…
…e run. Closes #3119