title: Partial locals are not being passed
body: <p>I'm trying to pass some locals into a partial render in rails, however they are not getting passed.</p>
  
  <pre><code>&lt;%=render :partial =&gt; "search_results", :locals =&gt; {:refinement =&gt; "all", :query =&gt; params[:search]}%&gt;
  </code></pre>
  
  <p>The partial is being rendered in a view that has the <code>param[:search]</code> in it, that <code>params[:search]</code> is accessable inside of the partial without it being passed in as a local.</p>
  
  <p>I'm trying to access the locals refinement and query by doing <code>params[:refinement]</code> and <code>params[:query]</code> inside of the partial, however they are not being recognized.</p>