title: Ruby on Rails using link_to with image_tag
body: <p>I have the following:</p>
  
  <pre><code>&lt;%=link_to( image_tag(participant.user.profile_pic.url(:small)), :class=&gt;"work") %&gt;
  </code></pre>
  
  <p>which outputs the following:</p>
  
  <pre><code>&lt;a href="/xxxx/308?class=work"&gt;&lt;img alt="xxxx" src="xxxxx"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>I want the class "work" to be a class for the a href not a query param, so it should look like:</p>
  
  <pre><code>&lt;a href="/xxxx/308" class="work"&gt;
  </code></pre>
  
  <p>is this possible?</p>