title: How to pass a hash object to a HAML tag
body: <p>Please consider this example:</p>
  
  <pre><code>- user_links_params = _user_link_params(current_user)
  
  %a{ :'data-msgstore-path' =&gt; user_links_params[:'data-msgstore-path'],
    :'data-user_id' =&gt; user_links_params[:'data-user_id'],
    :class =&gt; user_links_params[:class],
  }
    / too many html tags and stuff to fit in a simple link_to
  </code></pre>
  
  <p>I would be nice to fit all this in a simple statement like the following:</p>
  
  <pre><code>%a[_user_link_params(current_user)]
    / too many html tags and stuff to fit in a simple link_to
  </code></pre>