title: Rails 4 not right path for image_url
body: <p>So, my next problem on a rails project is the following: I am using the asset pipeline to serve my assets. Now I want to include <strong>inline</strong> css into a view with a background image. because of the asset pipeline I am just able to use the helpers that rails offers from ground. But the problem is, that every helper (except <code>image_tag</code> is delivering the wrong output).</p>
  
  <pre><code>image_url('work-1.png')         # =&gt; /images/work-1.png
  image_path('work-1.png')        # =&gt; /images/work-1.png
  asset_url('work-1.png')         # =&gt; /work-1.png
  asset_path('work-1.png')        # =&gt; /work-1.png
  image_tag('work-1.png')         # =&gt; &lt;img ..........&gt; # Only right tag!
  </code></pre>
  
  <p>Yeah, <a href="https://stackoverflow.com/questions/7827078/access-asset-path-from-rails-controller">that</a> didn't help me. And also all other questions I found about this topic.</p>
  
  <p>Would be nice to know what the issue is with this. Thanks!</p>