title: Sunspot_rails gem not working for me in rails 3.1rc5
body: <p>When ever a perform a search query i get wrong number of arguments 0 of 1</p>
  
  <p>my controller code is as follows </p>
  
  <pre><code>  def search
       @search = User.search do
         fulltext params(:search)
       end
       @friends = @search.results
    end
  </code></pre>
  
  <p>and my model is as follows</p>
  
  <pre><code>  searchable do
      text :name
    end
  </code></pre>
  
  <p>pls what am i getting wrong here or the gem does not support rails 3.1. thanks</p>