Say I have a normal <SELECT> tag being generated thusly:
<%= collection_select :task, :id, Task.find(:all), :id, :name %>
what is the easiest way to add a "ANY" option to the top of the option list? I know Task.find(:all) returns a collection object, so is there a unshift() for that?
well OK I tried:
Task.find(:all).unshift([:id=>0, :name=>'ANY'])
but that is just a vanilla Array with "undefined method `name'"....?
thanks Sam