Passing hash as values in hidden_field_tag
- by funkymunky
I am trying to pass some filters in my params through a form like so:
hidden_field_tag "filters", params[:filters]
For some reason the params get changed in the next page. For example, if params[:filters] used to be...
"filters"={"name_like_any"=["apple"]} [1]
...it gets changed to...
"filters"="{\"name_like_any\"=[\"apple\"]}" [2]
note the…