title: Precompiling uploaded assets
body: <p>I have a rails 3.1 application where users upload pictures. I am storing them in /assets/images since that is the path image_tag looks for instead of public/images.</p>
  
  <p>Everything works fine in development but I deployed to Heroku and it gives me this error:</p>
  
  <blockquote>
    <p>ActionView::Template::Error (image_name.jpeg isn't precompiled)</p>
  </blockquote>
  
  <p>What is the right way to handle such a situation? Is there a way to compile images after uploading or should I store them somewhere else?</p>