In Rails 3 we have the asset pipeline, that automatically takes care of
images, caching, etc.
But what about images uploaded by the user? Those images are uploaded
the “uploads” folder, and while you can move them around, they are
the asset pipeline (please correct me if I’m wrong).
So, the user uploads an image and when he replaces it with another one,
browser still displays the previous one because it’s using the cache, so
page refresh (cmd+r) is needed to display the new one.
How to avoid that? Isn’t the image_tag supposed to add the timestamp