title: Whitespace with multiline string in ruby
body: <p>I have a whitespace issue with multiline strings.</p>
  
  <p>I have something similar to this in my code where I'm generating some SQL.</p>
  
  <pre><code>def generate_sql
     &lt;&lt;-EOQ
        UPDATE page
           SET view_count = 10;
     EOQ
  end
  </code></pre>
  
  <p>But then my SQL indention is all messed up, which I don't really want.</p>
  
  <pre><code>"       UPDATE page\n          SET view_count = 10;\n"
  </code></pre>
  
  <p>I could do</p>
  
  <pre><code>    def generate_sql
  &lt;&lt;-EOQ
  UPDATE page
     SET view_count = 10;
  EOQ
      end
  </code></pre>
  
  <p>Which outputs exactly what I want</p>
  
  <pre><code>"UPDATE page\n   SET view_count = 10;\n" 
  </code></pre>
  
  <p>But then my code indention is all messed up, which I don't really want.</p>
  
  <p>Any suggestions on how best to achieve what I'm after?</p>