search for: arunsunai

Displaying 1 result from an estimated 1 matches for "arunsunai".

2006 Dec 11
5
using form_tag with a get request with params
I''m trying to create a search field using the form_tag helper. The problem is when I enter a search, the url_for returns an address such as host.com/search?term=foo. I want to use the format host.com/search/term. I have it set up in routes to recognize the format search/:term, but form_tag always uses the format host.com/search?term=foo. Does anybody know how to do this? Cheers! Ray