title: ActionView::Template::Error ( isn't precompiled):
body: <p>In production (Heroku), I'm getting the following error:</p>
  
  <pre><code>Started GET "/articles/1" for 50.134.181.231 at 2012-06-17 00:37:35 +0000
  2012-06-17T00:37:35+00:00 app[web.1]: ActionView::Template::Error ( isn't precompiled):
  2012-06-17T00:37:35+00:00 heroku[router]: GET wandr.com/articles/1 dyno=web.1 queue=0 wait=0ms service=497ms status=500 bytes=728
  2012-06-17T00:37:35+00:00 app[web.1]: 
  2012-06-17T00:37:35+00:00 app[web.1]:     74:   = image_tag @article.featured_photo_url(:sm).to_s
  2012-06-17T00:37:35+00:00 app[web.1]:     75: 
  2012-06-17T00:37:35+00:00 app[web.1]:     77:   = image_tag @article.background_photo_url(:md).to_s
  2012-06-17T00:37:35+00:00 app[web.1]:     76: %p
  2012-06-17T00:37:35+00:00 app[web.1]:     78: %p
  2012-06-17T00:37:35+00:00 app[web.1]:     79:   = image_tag @article.cover_photo_url(:md).to_s
  2012-06-17T00:37:35+00:00 app[web.1]:     80: 
  2012-06-17T00:37:35+00:00 app[web.1]:   app/views/articles/show.html.haml:77:in `_app_views_articles_show_html_haml__1847247375488199378_48105500'
  2012-06-17T00:37:35+00:00 app[web.1]: 
  2012-06-17T00:37:35+00:00 app[web.1]:   app/controllers/articles_controller.rb:21:in `show'
  2012-06-17T00:37:35+00:00 app[web.1]: 
  2012-06-17T00:37:35+00:00 app[web.1]: Processing by ArticlesController#show as HTML
  2012-06-17T00:37:35+00:00 app[web.1]:   Rendered articles/show.html.haml within layouts/admin (420.5ms)
  2012-06-17T00:37:35+00:00 app[web.1]:   Parameters: {"id"=&gt;"1"}
  2012-06-17T00:37:35+00:00 app[web.1]: Completed 500 Internal Server Error in 486ms
  </code></pre>
  
  <p>I'm running Rails 3.2.6, including actionpack 3.2.6 which I thought had this fix for this issue: <a href="https://github.com/rails/rails/commit/6bb86e1f3f7f9e11ee1c056d8742125173ecbce1" rel="nofollow noreferrer">https://github.com/rails/rails/commit/6bb86e1f3f7f9e11ee1c056d8742125173ecbce1</a></p>
  
  <p>I also tried this: <a href="https://stackoverflow.com/questions/10070880/actionviewtemplateerror-isnt-precompiled-raised-on-image-tag-nil">&quot;ActionView::Template::Error ( isn&#39;t precompiled)&quot; raised on &quot;image_tag nil&quot;</a></p>
  
  <p>Basically, as long as one of the images on this page don't exist, it's throwing this error. If I upload the images, it works fine. Any ideas?</p>
  
  <p>Thanks,
  --Mark</p>