Hi all, I use a drop down list (select) in a partial. <%= select(''treeview'', ''kind'', %w{ Club Ploeg Tak }) %> The partial is called treeview and it has a variable kind. If treeview.kind matches or Club or ploeg or Tak then one of them should be selected. Since select expects a instance variable this doesnt''t seem to work. I already tried @temptree = treeview and then <%= select(''temptree'', ''kind'', %w{ Club Ploeg Tak }) %> but Club is always the selected value. Since I''m really stuck here all help is greatly appreciated. Thanks Stijn --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---