Form using a custom route howto?

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs