On 28 August 2010 14:03, Zack Nathan <[email protected]> wrote:
> Colin Law wrote:
>> 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
>
> So did I until I found this. Whichever one works is fine with me :P !

Use collection_select, it does more for you.

By the way why have we got lots of Re:Re: in the subject?  Are you not
just replying to the previous post?

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.

Reply via email to