On Mon, Jul 10, 2006 at 09:39:45PM +0200, Chris Lowis wrote:
> > 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'%>

try 

<%= form_tag { :action => 'search' }, :method => 'get' %>

instead. this explicitly tells ruby where the first hash argument
(url_for_options) to form_tag ends, all following arguments then 
will be aggrgated into the second optional argument to form_tag, 
options:

form_tag(url_for_options = {}, options = {}, *parameters_for_url)  

Jens


-- 
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to