On 28 August 2010 13:43, Zack Nathan <[email protected]> wrote: > ... > of course! I have found this snippet of code and im trying to get it to > work: > <%= select("group_users", "group_id", @groups.collect {|p| [ > p.group.name, p.group.id ] }, { :include_blank => true }) %> > > But i cant seem to get it to work at the moment.
I thought you were trying to use collection_select Colin -- 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.

