Trying to figure out how to indicated ''selected'' value in multi-valued collect... <%= select ''counseling_note'', ''fi_facility_id'', [[''Select Facility'', '''' ] ] + @facilities.sort { |a,b| a.name <=> b.name }.collect { |fac| [fac.name, fac.id] }, :selected => @fi_facility_id %> but the :selected => doesn''t work I can provide it either/both fac.name and fac.id but no matter what I do, I can''t get the select list to display the currently selected value. Any suggestions? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---