u can do that:

<%= select_tag :skillset_id,
option_groups_from_collection_for_select(Skillset.find_all_by_parent_id(nil),
:children, :title, :id, :title) %>


Skillset is a act_as_tree model!


hope that helps





On Thu, Mar 25, 2010 at 1:30 PM, Silverbizness <[email protected]>wrote:

> Same here.
> It's such a pain to find the appropriate documentation to do that.
>
> --
> 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]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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