title: Heroku Image URL change
body: <p>I'm developping a Rails4 application with heroku hosting, and i encounter a bit of a problem:
  I have a helper method to randomly pick an image by its path in <code>/assets/images/path_to_image</code> and this helper method is called in my HAML file. It works perfectly in my local environment. The images urls are stored in the DB. The problem is that Heroku changes the image names from <code>logo.jpg</code> to <code>logo-a6d14b20c77aa6466e616313edcd3d34.jpg</code> which makes my helper method useless. Any idea on how i could solve this problem? Is it a matter of pre-compiling the assets ?
  Thanks a lot
  B.</p>