title: Rails Partials - can't perform a collect on a symbol
body: <p>I'm trying to render a partial, and want to use symbols to pass in the data:</p>
  
  <pre><code>&lt;%= render 'form', :locals =&gt; { :course =&gt; @course, :categories =&gt; @categories } %&gt;
  </code></pre>
  
  <p>In my partial though, I can't perform a collect on the :categories symbol, I get this error:</p>
  
  <pre><code>    undefined method `collect' for :categories:Symbol
  
      Extracted source (around line #9):
  
  &lt;%= f.select :category_id, :categories.collect{ |c| [c.name, c.id]}, {}, :style =&gt; 'font-size:1em;width:250px;'  %&gt;
  </code></pre>
  
  <p>Can you not use symbols this way?</p>