Rails adds an md5 hash to images names when moving them to the /public/assets directory during precompilation. The problem is that these hashes are unpredictable, so how can I know what they're going to be called when trying to link to them?
For example, if I'm hosting an image named flowers.jpg, and then try to access it at www.mysite.com/flowers.jpg, it fails, because the file has been renamed flowers-4182172ae014ec23dc02739229c08dcc.
I know Rails has helpers that will automatically find these images. But what if you're trying to link to these images from a completely different website or application? Is there a way to get Rails to say, "Well I can't find a precompiled version of flowers.jpg, so instead of serving from /public/assets I'll serve from /app/assets."?
EDIT: According to this post (http://stackoverflow.com/questions/10045892/rails-compiles-assets-both-with-and-without-md5-hash-why), Rails should be compiling a version of my assets both with and WITHOUT an md5 hash? Any idea why my copy of Rails isn't generating a version without a fingerprint?