title: Ruby on Rails - Using helpers inside css erb file gives undefined method
body: <p>I have a css.erb file which contains the styling of one of my pages. I have a helper which preformats a URL of a given image based on the location of that image.</p>
  
  <p>When I call the helper function from the view, the output is expected (a string containing the URL for of the image). However, calling it in the css.erb file gives me an <code>undefined method</code> error even though I copy and paste the same function into my css file.</p>
  
  <p>It's as if the helper is not included in the css file and is ignored.</p>