Skip to content

Instantly share code, notes, and snippets.

@jkongie
Created December 4, 2009 01:13
Show Gist options
  • Select an option

  • Save jkongie/248756 to your computer and use it in GitHub Desktop.

Select an option

Save jkongie/248756 to your computer and use it in GitHub Desktop.
Remove the submit param from a get form
<% form_tag( '/search', :method => 'get' ) do %>
<%= text_field_tag :search_str %>
<%= submit_tag "Search", :name => nil %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment