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?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---