<HTML>
<HEAD>
<TITLE>Re: [Betternestedset-talk] Better Nested Set Patch for Rails 2.1</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>We did some tests on that and it seems that destroying the root destroys all the children.<BR>
<BR>
<BR>
On 7/15/08 2:36 AM, &quot;Christopher Bailey&quot; &lt;chris@cobaltedge.com&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Tony, does deletion/destroy work properly for you with ANS? &nbsp;I've been<BR>
looking at possibly switching as well, as ANS solves one problem I<BR>
have, but destroy's don't seem to proplery destroy all descendants.<BR>
For example, if I have &quot;locations&quot;, and say I have Califnornia, and it<BR>
has two direct children, &quot;Los Angeles&quot; and &quot;San Francisco&quot;. &nbsp;When I<BR>
delete California, it only deletes one of the child cities.<BR>
<BR>
On Tue, Jul 8, 2008 at 2:50 PM, Tony Hillerson &lt;tony.hillerson@gmail.com&gt; wrote:<BR>
&gt; I tried to send this proposed patch at the beginning of June, but<BR>
&gt; failed and sent the man page. I then tried to reply and send the<BR>
&gt; patch, but that obviously didn't make it. I apologize for being dumb.<BR>
&gt; Here's the patch one more time. Apply the patch to<BR>
&gt; betternestedset/lib/better_nested_set.rb.<BR>
&gt;<BR>
&gt; Just to let you all know, I've switched from Better Nested Set to<BR>
&gt; Awesome Nested Set, and it's been a pretty much drop in replacement.<BR>
&gt; The only thing to note that I know of is that add_child is fully<BR>
&gt; removed instead of deprecated in favor of move_to_child_of.<BR>
&gt;<BR>
&gt; Here's the repo for awesome nested set:<BR>
&gt; <a href="http://github.com/collectiveidea/awesome_nested_set/tree/master">http://github.com/collectiveidea/awesome_nested_set/tree/master</a><BR>
&gt;<BR>
&gt; I don't mean to start any conflict about which project you should be<BR>
&gt; using, but it just seems that better nested set is no longer<BR>
&gt; maintained.<BR>
&gt;<BR>
&gt; Thanks,<BR>
&gt; Tony Hillerson<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; Betternestedset-talk mailing list<BR>
&gt; Betternestedset-talk@rubyforge.org<BR>
&gt; <a href="http://rubyforge.org/mailman/listinfo/betternestedset-talk">http://rubyforge.org/mailman/listinfo/betternestedset-talk</a><BR>
&gt;<BR>
&gt;<BR>
<BR>
<BR>
<BR>
--<BR>
Christopher Bailey<BR>
Cobalt Edge LLC<BR>
<a href="http://cobaltedge.com">http://cobaltedge.com</a><BR>
_______________________________________________<BR>
Betternestedset-talk mailing list<BR>
Betternestedset-talk@rubyforge.org<BR>
<a href="http://rubyforge.org/mailman/listinfo/betternestedset-talk">http://rubyforge.org/mailman/listinfo/betternestedset-talk</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT>
</BODY>
</HTML>