title: Passing hash as values in hidden_field_tag
body: <p>I am trying to pass some filters in my params through a form like so:</p>
  
  <p><code>hidden_field_tag "filters", params[:filters]</code></p>
  
  <p>For some reason the params get changed in the next page.  For example, if params[:filters] used to be...</p>
  
  <p><code>"filters"=>{"name_like_any"=>["apple"]} [1]</code></p>
  
  <p>...it gets changed to...</p>
  
  <p><code>"filters"=>"{\"name_like_any\"=>[\"apple\"]}" [2]</code></p>
  
  <p>note the extra quotations and backslashes in [2] when compared to [1].  </p>
  
  <p>Any ideas?  I'm attempting to use this with searchlogic for some filtering, but I need it to persist when I change change objects in forms.  I would prefer not to have to store it in session.</p>