jhaagmans wrote: [...] >> Use awesome_nested_set for this. �It's much better for arbitrary tree >> structures than the simple adjacency list that you're currently using. > > I'll look into it. How would this look in my views?
Any way you like. awesome_nested_set only deals with the data structure and makes it easier to retrieve the records from the DB. How you render them in the view once retrieved is up to you. [...] >> Maybe. �Or you could use acts_as_list. >> > > Id did, as you can see in my model. Sorry, must have missed that. > Is this enough? I think so. Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---