Hi.
I have a form that shall create a simple GET query.
Therefore I have in my view (new.html.erb)
<% form_for(@re, :url => {:action => 'query'}, :html => { :method => :get}) do |f| %> <p/> <%= f.label :address %><br /> <%= f.text_area :address %> <p/> <%= f.submit 'Get' %>
<% end %>
But when filling out with "myplace" and clicking on the forms submit button it creates a GET URL like this:
http://test.host/query?re[address]=myplace
But I believe (accoring to Query string - Wikipedia), that shall be encoded as
http://test.host/query?re[address]=myplace
Am I right or wrong on this?
Jarl