title: Is there any way to test HAML output in Rails Console?
body: <p>I want to do something like this in <code>console</code>: </p>
  
  <pre><code>= raw CSV.generate_line(array)
  </code></pre>
  
  <p>And see how the output looks like. </p>
  
  <p>The reason being the CSV output on Heroku is adding in extra newlines in every CSV file genrated and I can't replicate this on development. It's not very good practice to try random attempts to fix the problem by deployment =)</p>
  
  <p>If anyone has hints to what might be causing the newline characters, be grateful too. </p>