title: Haml syntax error> Illegal elements classes and ids must have values
body: <p>My view has this:</p>
  
  <pre><code>%tr
     %th =link_to 'Name', :sort =&gt;'name', :id =&gt; 'name_header'
  </code></pre>
  
  <p>My Controller method for the view has this:</p>
  
  <pre><code>@students = Student.order(params[:sort]).all
  </code></pre>
  
  <p>I am trying to sort by clicking on the column header.
  Similarly, I tried <code>params[:id]</code> instead of <code>params[:sort]</code> but it failed too.</p>