According to the Agile book, "Rails ships with three acts as extensions: acts_as_list, acts_as_tree, and acts_as_nested_set. Ive chosen to document just the first two of these; as this book was being finalized, the nested set variant had some serious problems that prevent us from verifying its use with working code." So, is it safe to use or not? I''ve got a forum app, based originally on the RForum codebase, that would seem to benefit greatly (performance-wise) from using acts_as_nested_set instead of acts_as_tree. What say you? -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Robert, I read the same thing while I was in the middle of doing an acts_as_nested_set forum implementation myself, and it did give me pause. But, since I was already going down that path rather than using acts_as_threaded, I decided to press on. I was able to successfuly use acts_as_nested_set for my threaded forum app, which I started yesterday and more-or-less finished today. I am happy to say that all of my tests run, and it seems to be performing well. My particular forum has multiple roots as well as multiple forums, and so far, I have not seen any problems. The directions I followed were from Bob Silva''s site I.nfectio.us, and here is the link: http://www.railtie.net/articles/2006/03/31/implement-acts_as_threaded-without-a-plugin Bob is the author of acts_as_threaded as well. Hope this helps! C On Jan 25, 2:53 pm, Robert Head <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> According to the Agile book, > "Rails ships with three acts as extensions: acts_as_list, acts_as_tree, > and acts_as_nested_set. I''ve chosen to document just the first two of > these; as this book was being finalized, the nested set variant had some > serious problems that prevent us from verifying its use with working > code." > > So, is it safe to use or not? > > I''ve got a forum app, based originally on the RForum codebase, that > would seem to benefit greatly (performance-wise) from using > acts_as_nested_set instead of acts_as_tree. > > What say you? > > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sorry for the intrusion on this post, but after I replied to Robert above, I changed my profile to reflect my new company. Unfortunately, Google doesn''t get the concept of forwarding the link from your old posts to your new profile, so if anyone would like to contact me regarding my answer above, you will need to respond to this message instead. Sorry! C On Jan 25, 10:34 pm, "thirddaydev" <c...-JtCN++Spo7uC8CmZemzhMw@public.gmane.org> wrote:> Hi Robert, > > I read the same thing while I was in the middle of doing an > acts_as_nested_set forum implementation myself, and it did give me > pause. But, since I was already going down that path rather than using > acts_as_threaded, I decided to press on. I was able to successfuly use > acts_as_nested_set for my threaded forum app, which I started yesterday > and more-or-less finished today. I am happy to say that all of my > tests run, and it seems to be performing well. My particular forum has > multiple roots as well as multiple forums, and so far, I have not seen > any problems. > > The directions I followed were from Bob Silva''s site I.nfectio.us, and > here is the link:http://www.railtie.net/articles/2006/03/31/implement-acts_as_threaded... > > Bob is the author of acts_as_threaded as well. > > Hope this helps! > > C > > On Jan 25, 2:53 pm, Robert Head <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > According to the Agile book, > > "Rails ships with three acts as extensions: acts_as_list, acts_as_tree, > > and acts_as_nested_set. I''ve chosen to document just the first two of > > these; as this book was being finalized, the nested set variant had some > > serious problems that prevent us from verifying its use with working > > code." > > > So, is it safe to use or not? > > > I''ve got a forum app, based originally on the RForum codebase, that > > would seem to benefit greatly (performance-wise) from using > > acts_as_nested_set instead of acts_as_tree. > > > What say you? > > > -- > > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---