I am trying to add a hidden field in a ransack form which is not to be evaluated by the ransack search method and I want to evaluate it manually in the controller. How would I go about doing that?
In my case below I want to pass the controller a city id and evaluate it without ransack doing anything with it.
= search_form_for @q do |f|
= f.label "Has Mobile"
= f.check_box :mobile_true
= f.hidden_field :city_id, :value =>@city.id
How would I go about this?