title: Private Params not found on form submission (sunspot, solr)
body: <p>Basic searching using Sunspot &amp; Solr...just searching one attribute (title) of one model (Collection)</p>
  
  <p>On form submission i get the error </p>
  
  <pre><code>param not found: collection
  </code></pre>
  
  <p>And it points back to this private method in the collections_controller</p>
  
  <pre><code>def collection_params
    params.require(:collection).permit(:title, :cover_photo)
  end
  </code></pre>
  
  <p>any ideas on why??</p>
  
  <p><strong>EDIT:</strong>
  <br /></p>
  
  <p>Index method on the collections_controller</p>
  
  <pre><code>def index
    @search = Collection.search do
      fulltext params[:search]
    end
    @collection = @search.results
  end
  </code></pre>
  
  <p>Collection model:</p>
  
  <pre><code>searchable do
    text :title
  end
  </code></pre>
  
  <p>And my form tag</p>
  
  <pre><code>&lt;%= form_tag collections_path :method =&gt; :get do %&gt;
    &lt;p&gt;
      &lt;%= text_field_tag :search, params[:search] %&gt;
      &lt;%= submit_tag "Search", :name =&gt; nil %&gt;
    &lt;/p&gt;
  &lt;% end %&gt;
  </code></pre>