title: Rails public asset files error on production
body: <p>I have created a Rails app and deployed to heroku and I changed background image paths as suggested to make them work. </p>
  
  <p>In my app, a user can upload his/her car pictures and I make them slider in the <code>car#show</code> action. </p>
  
  <p>So when I push my app to heroku and upload some pictures to heroku, which rails save them to <code>public/uploads/picture/image</code>, it works fine. I can see images slider etc..</p>
  
  <p><strong>But</strong> on my local code as I did not upload pictures, there is no picture in <code>public/uploads/picture/image</code>. When I change lets say some js code css code locally then;</p>
  
  <pre><code>1.bundle exec rake assets:precompile RAILS_ENV=production
  2.git add -A
  3.git commit -m "message"
  4.git push heroku master
  </code></pre>
  
  <p><strong>Bang!</strong> I cannot load the images that been uploaded before the push.It gives not found error (404)
  So what should I do?. </p>