I have been having issues calling a background image in my CSS file. The issue ONLY occurs in production. I have spent a lot of time googling, and written many variations of the following code, but my production site simply does not seem to want to render it. What is wrong with the following code?
background: url(<%= image_path 'magnifyingglass.png' %>);
You might have a production issue related to precompiling assets in the asset pipeline. Check your configs and run rake assets:precompile before you deploy production.
http://guides.rubyonrails.org/asset_pipeline.html