I have built a select_tag dropdown to represent a group of selections that will feed a model-query routine I've written. This routine works fine but the order of the items is different than what I programmed. My objection to this order is that I want the 'All => ''' to be on the top. Here it is;
<tr> <td><strong><%= "User Module" %></strong></td> <td> <%= select_tag(:module, options_for_select('All' => '', 'Evidence' => 1, 'Assets' => 2, 'Inventory' => 3, 'Water' => 4, 'Laboratory' => 5, 'State EPA' => 6, 'Administrator' => 7), :style => "width:206px", :id => :indexselect) %> </td> </tr>
and here is the order of items as they 'drop down' on the form.
Laboratory All Administrator Assets Water Evidence Inventory State EPA
I am grateful for any suggestions. Kathleen