I have a problem.
I create a search in will_paginate like Ryan B. tutorial:
but with light modification of code:
<% form_tag clients_path, :method => ‘get’ do %>
<%= select_tag :gender, options_for_select([[‘Select’,nil],[‘Male’,
true],[‘Female’, false]]) %>
<%= submit_tag “Search”, :name => nil %>
<% end %>
When I select “Male”(for example) click “Search” button, I find what I
need, but! the option in select_tag is “Select”.
How I can do that’s option at my select_tag after select “Male” and
click submit_button will be “Male”?