%= form_tag url_for(:action => 'search', :name =>"the_form") %> Search String <%= text_field :filter ,:contains %> (Regular expression) <%= submit_tag label="Search" %>