Forum: Ruby on Rails form using a custom route howto?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
3eda6fcd3204ef285fa52176c28c4d3e?d=identicon&s=25 mixplate (Guest)
on 2007-02-23 03:51
i have a form on my page like this:

<%= start_form_tag(:action=>'search')%>
  <%= text_field_tag :search, "search nj", :size=> 17 %>
  <%= select(:searchbox, :mcategory, %w{sale auto job realestate})%>
  <%= select(:searchbox, :state, %w{tristate nj pa del})%>
<%= submit_tag "Search"%>
<%= end_form_tag%>

i now have a custom route called 'search'. so now how do i use
search_url in my form?
This topic is locked and can not be replied to.