I have an application an I'm precompiling the assets to deploy to Heroku. I'm using a gem which uses some internal images. I run.
RAILS_ENV=production bundle exec rake assets:precompile
Ok, it seems that
asset_path doesn't use the fingerprints for the images. I had to use
image_path and tweak a little bit to make it work with the library.