Displaying 1 result from an estimated 1 matches for "_value_of_price_field".
2006 Apr 08
0
Understanding observe_form...
...f trial and error, I listed the "with" value as "price",
because for some reason it seemed be only the price value that was
passed. Whatever other options were in the form, whatever I listed
under "with" became an entry in my params hash with the value
"price=_value_of_price_field".
Originally I gave the option :with => "advanced_search", because that''s
my form tag. Then if the "price" option clicked was "any", when I found
in the params hash was:
params[:advanced_search] #=> "price=any"
The other form optio...