Thanks for that, it works exactly as you said! cheers, now I have the line
<%= f.select(:formation_csv, @formations) %> and it magically knows which one to select. I'm still v curios as to why the "options_for_select(formations_array, 2)" didn't do anything, is it because when I'm using this in conjunction with the form_helper, ie f.select as opposed to select_tag, the options_for_select method becomes redundant, or different? -- Posted via http://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

