title: Rails + Ransack - Drop Down List Collection?
body: <p>I am loving the ransack gem for its flexibility, however I am unable to get the standard collection_select to function properly.  Perhaps someone can assist.</p>
  
  <p>Example:</p>
  
  <pre><code>      &lt;%= collection_select(:expense, :project_id, Project.all, 
          :id, :name, { prompt: 'Select Project'}, { class: 'span4' }) %&gt;
  </code></pre>
  
  <p>in this case, this code is from an expense entry screen, so the first parameter is the expense object.  What should it be in the ransack form?  Also, I know I need to get the suffix in there.  In this example, I would like project_id_eq to be the search pattern.</p>
  
  <p>Also, my form is on a controller and view called "reports", I am not putting this search in the default controllers.</p>
  
  <p>Thanks!</p>