title: Rails 3 / HAML: How can I output haml raw from a variable?
body: <p>I have some variables within rails that contain some divs like so: </p>
  
  <pre><code>@layout_1 = "
  .box_1 
  .column_4 &lt;br&gt;
  .gutter&lt;br&gt;
  .column_4&lt;br&gt;
  .gutter&lt;br&gt;
  .column_4&lt;br&gt;
  .gutter&lt;br&gt;
  .column_4&lt;br&gt;"
  </code></pre>
  
  <p>This is coming from a database, and the idea is to swap layouts on request, but how can I output the variable (<code>@layout_1</code>) as HAML inside a HAML file ?</p>
  
  <p>If I were to use normal html divs, I would use <code>&lt;%=raw</code> or <code>.html_safe</code></p>