title: Heroku Rails 4 Assets being precompiled but failing
body: <p>In my <code>index.html.erb</code> in the Public folder, I hold the landing page to my website. I don't yet have a true website, so there only needs to be a landing page.</p>
  
  <p>This landing page has many images. The images are all stored in <code>app/assets/images</code>. When I run <code>git push heroku</code>, my assets get pre-compiled, and from that point on all of my images are in the <code>public/assets</code> folder following a <code>imagename-hash.png</code> format.</p>
  
  <p>In my <code>index.html.erb</code>, the one I use as the landing page, I attempt to access these images through <code>&lt;img class="android-device" src=&lt;%= asset_path("nexus_large.png")%&gt; &gt;</code> and I expect <code>asset_path</code> to return to me <code>nexus_large-hash.png</code>. For some reason, it does not. When I go to the webpage, none of my images are loaded up. I get 404 errors when trying to retrieve the assets. </p>
  
  <p>I have <code>rails-12factor</code> as a gem in my Gemfile. I don't understand what I'm doing wrong.</p>
  
  <p>Through <code>heroku run bash</code> I confirmed that the assets were precompiled and placed into <code>public/assets</code>. Through <code>helper.asset_path("nexus_large.png")</code> in the Rails console, I confirmed that it should return <code>/assets/nexus_large-hash.png</code></p>
  
  <p>What am I doing wrong?</p>
  
  <p>Edit: Upon further inspection, if I were to go to <code>mywebsite.com/assets/nexus_large-hash.png</code> I would see the appropriate image. So 100% precompilation is successful. It's linking to the images that is failing.</p>