title: Rails 3.1.4 - Render :text
body: <p>I'm updating my rails 2 apps to rails 3 and find that the use of 'render :text' does not behave the same anymore.</p>
  
  <p>@results is an array. In my controller:</p>
  
  <pre><code>render :text =&gt; "&lt;ul&gt;#{@results}&lt;/ul&gt;"
  </code></pre>
  
  <p>It's returning the whole array as a string rather than iterating through each value:</p>
  
  <pre><code>&lt;ul&gt;
    ["
    &lt;li&gt;Steve&lt;/li&gt;
    ", "
    &lt;li&gt;John&lt;/li&gt;
    "]
  &lt;/ul&gt;
  </code></pre>
  
  <p>Worked fine in Rails 2.x but not in 3. How do I fix this?</p>
  
  <p>I'm expecting a result of:</p>
  
  <pre><code>&lt;ul&gt;
    &lt;li&gt;Steve&lt;/li&gt;
    &lt;li&gt;John&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>