title: Image urls for Rails 4 + Less not including the hash
body: <p>I have a Rails 4 application and am using the <code>less-rails</code> gem. In <code>main.css.less</code>, I add a background image to the site using:</p>
  
  <pre><code>body {
    background-image: image-url("background.jpg");
  }
  </code></pre>
  
  <p>Everything works fine locally, but when I push up to my server with precompiled assets, the image url is not updating to include the hash. That is, the image now lives at <code>public/assets/background-074c0b767cd8cfb2da93b37ea3596326.jpg</code> but my css file still says <code>url(/assets/background.jpg)</code>.</p>
  
  <p>The link below seemed very promising, but none of the recommended solutions have worked (most of them are specific to <code>sass</code>, although I did try <code>image-url</code>, <code>asset-url</code> and their respective <code>-path</code>'s).</p>
  
  <p><a href="https://stackoverflow.com/questions/15257555/how-to-reference-images-in-css-within-rails-4">How to reference images in CSS within Rails 4</a></p>
  
  <p>Any ideas?</p>