title: How can I link elements to the show page with join in an array?
body: <p>If I join the elements of an array as follows</p>
  
  <pre><code>(u.roles.collect {|role| link_to role.name, role}).join(", ")
  </code></pre>
  
  <p>then Rails will autoescape the text so I get</p>
  
  <pre><code>&amp;lt;a href=&amp;quot;/roles/3&amp;quot;&amp;gt;Role 1&amp;lt;/a&amp;gt;, 
  &amp;lt;a href=&amp;quot;/roles/4&amp;quot;&amp;gt;Role 2&amp;lt;/a&amp;gt;
  </code></pre>
  
  <p>instead of the expected</p>
  
  <pre><code>&lt;a href="/roles/3"&gt;Role 1&lt;/a&gt;, &lt;a href="/roles/4"&gt;Role 2&lt;/a&gt;
  </code></pre>
  
  <p>How can I avoid autoescaping?</p>