title: rails trim whitespace from searchlogic text field
body: <p>This works:</p>
  
  <h1>Baseline Controller</h1>
  
  <pre><code>@search = Baseline.search(params[:search])
  
  @baselines = @search.paginate :page =&gt; params[:page], :per_page =&gt; params[:per_page]
  </code></pre>
  
  <h1>baseline index view</h1>
  
  <pre><code>&lt;% form_for @search do |f| %&gt;
    &lt;%= f.text_field :baseline_name_like_or_description_like %&gt;
    &lt;%= submit_tag 'Search' %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Where would I trim the leading and trailing whitespace in the <code>text_field</code>?  Could I use a <code>.strip!</code> somewhere?</p>