title: Haml code conversion from Ruby
body: <p>I have this code mentioned below and I am trying to make it work on a RoR application under haml extension. However I am getting unexpected keyword end. I read over the net and stackoverflow and found out that end is not required in HAML. However when I remove it I get an error saying that end keyword is expected. Could you please check and tip me what I am doing wrong? Thanks in advance.</p>
  
  <pre><code>&lt;div id="comments"&gt;
  &lt;% @comments.each do |comment| %&gt;
      &lt;div class ="comment"&gt;
      &lt;%= simple_format comment.content %&gt;
  &lt;/div&gt;
  &lt;%end%&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>What I did so far is:</p>
  
  <pre><code>%h1 Comments
   .comments
   - @comments.each do |comment|
   .comment
   = simple_format comment.content
  </code></pre>
  
  <p>Any clues? 
  Thanks</p>