> sure, setting the search form's method to 'get' should do the trick.

Thank you for taking the time to respond. I now have

<%= form_tag :action => 'search', :method => 'get'%>
<fieldset>
  <legend>Search by street name, or zip code</legend>
  <input type="text" name="query" value="<%= h @query %>" />
</fieldset>
<%= submit_tag 'search' %>
<%= end_form_tag %>

<% if @results -%>
...
<% end -%>

in my view. However the URL generated after search looks like :

http://localhost:3000/residence/search?method=get

and doesn't contain the search terms.  Any suggestions ?

Kind regards,

Chris

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to