title: Using collection_select or select or select_tag
body: <p>(NOTE: I have read <a href="http://shiningthrough.co.uk/Select-helper-methods-in-Ruby-on-Rails" rel="nofollow">http://shiningthrough.co.uk/Select-helper-methods-in-Ruby-on-Rails</a>, but still don't know what to pick)</p>
  
  <p>I have a form that will be used as a search filter (The method is get).    </p>
  
  <pre><code>&lt;%= form_tag(reports_courses_allocated_path, :method =&gt;'get') %&gt;
  &lt;%= collection_select(:course, :id, @courses, :id, :title, :include_blank =&gt; "All Courses") %&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The above produces the output I want for the  tags, but there is no "selected" parameter where I could pass in a params value. I also don't like the fact that the name is course[id], I would rather have it named course_id</p>
  
  <p>I could do:</p>
  
  <pre><code>&lt;%= select_tag(:course_id, raw("&lt;option&gt;All Courses&lt;/option&gt;") + options_from_collection_for_select(@courses, :id, :title, params[:course_id])) %&gt;
  </code></pre>
  
  <p>But I don't like the fact that I am concatenating options, but that might be my best bet.</p>
  
  <p>Any opinions/suggestions?</p>