Jens Kraemer wrote:
> 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:
Thank you Jens. In the end I had to call form_tag with () like so :
<%= form_tag( { :action => 'search'}, :method => 'get') %>
but it now works,
Chris
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk