title: Insert ruby in html class=" " property
body: <p>This is probably really stupid but I've spent the last 2 hours trying to figure out how to do this with no luck at all.</p>
  
  <p>Basically I need my html page to do the following:</p>
  
  <pre><code>&lt;div class="circleElement"&gt;
  ...
  &lt;/div&gt;
  </code></pre>
  
  <p>But I need to add more classes to that div class with ruby, the classes are coming in from a text field in my database.</p>
  
  <p>I tried inserting ruby like:</p>
  
  <pre><code>&lt;div class="circleElement"+ &lt;%= u.tag %&gt; &gt;...&lt;/div&gt;
  </code></pre>
  
  <p>And many different variations of this line with no luck at all :(</p>
  
  <p>I should add that u.tag holds exactly this string> "activeTag classicTag".... so it should append with no problems but it's not doing it!</p>