title: Rails Haml with inline styling
body: <p>How would I assign inline styling for a backround-image with a object url in haml? lol.
  This is a working version of the div without the object.</p>
  
  <pre><code>.main-image{style: "background-image: url('http://example.com/image.jpg');"}
  </code></pre>
  
  <p>But when I try this: </p>
  
  <pre><code>.main-image{style: "background-image: url(= @photos[0].image.url);"}
  </code></pre>
  
  <p>It doesn't work out when I add <code>@photos[0].image.url</code>,  any ideas?</p>