title: Is it possible to use MetaSearch on checkboxes for strings?
body: <p>I have an index page of <code>Users</code> that I want to filter with a search form using MetaSearch. However the values I want to search when I checkbox is clicked are stored as strings. For example, here's a form I want to apply MetaSearch to:</p>
  
  <pre><code>&lt;% form_for(current_user.profile) do |f| %&gt;
  &lt;table id="careerCriteria"&gt;
    &lt;tr&gt;
      &lt;td class="normal"&gt;&lt;%= current_user.profile.hometown %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= check_box_tag :hometown %&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class="normal"&gt;&lt;%= current_user.profile.current_city %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= check_box_tag :current_city %&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class="normal"&gt;&lt;%= current_user.profile.past_city %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= check_box_tag :past_city %&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>My User model:</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    has_one :profile, :dependent =&gt; :destroy
  end
  </code></pre>
  
  <p>I don't want to use a search button. I want the filter(s) to be applied when the checkbox (or checkboxes) are clicked. I'm new to programming so any help would be appreciated!</p>