簡単な検索フォームを作ってみたので、メモしておきます。 作成したviewのフォームの記述を以下のようのform_forヘルパーを使用して作ってみました。 <table id="search"> <% form_for (:conditions, @conditions, :url=>{:controller => '/customer/search', :action => 'result'}, :html => {:method => :get, :id => 'select' } ) do |f| %> <tr> <td> <%= f.select :limit, @limits.collect {|m| [m.name, m.value] } %> <%= f.text_field :keyword %> <%= f.submit :submit, :value=>'検索' %> <