title: How to show a background image in ruby on rails
body: <p>I am running ruby 2.3.0 and rail 5.0. When trying to display an background image on a view, I use the following CSS class:</p>
  <pre><code>.header_img{
     width:100%;
     height: 400px;
     background: url(&quot;../../assets/images/home/home-header.jpg&quot;);
  }
  </code></pre>
  <p>The image is located in the home subfolder under the image assets folder. I have tried trying to find a solution on here but have not been able to find one that works any help would be awesome.</p>
  <p>I am using Rubymine as my IDE and nothing seems to work.</p>