betternestedset-talk-bounces at rubyforge.org wrote:> Hi Philippe, > > Using "move_to_right_of(root)" or "move_to_left_of(root)" should work. > > Do you think that we should add the ability to use > "move_to_child_of(nil)"? How does everyone else on the list > feel about this?Hi, I have the feeling it wouldn''t be too bad, but maybe another function called move_to_root() would be better? --------------- Philippe Lang Attik System -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3125 bytes Desc: not available Url : http://rubyforge.org/pipermail/betternestedset-talk/attachments/20061221/198a5e3e/attachment.bin
Hi all, Le 21 d?c. 06, ? 16:05, Philippe Lang a ?crit :> betternestedset-talk-bounces at rubyforge.org wrote: >> Hi Philippe, >> >> Using "move_to_right_of(root)" or "move_to_left_of(root)" should work. >> >> Do you think that we should add the ability to use >> "move_to_child_of(nil)"? How does everyone else on the list >> feel about this? > > Hi, > > I have the feeling it wouldn''t be too bad, but maybe another function > called move_to_root() would be better?I agree on the move_to_root() name,should it be only an alias for move_to_right_of(root). Jean-Christophe Michel -- symetrie.com Better Nested Set for rails: http://opensource.symetrie.com/trac/better_nested_set
Sounds good. On 12/21/06, Jean-Christophe Michel <jc.michel at symetrie.com> wrote:> Hi all, > > Le 21 d?c. 06, ? 16:05, Philippe Lang a ?crit : > > betternestedset-talk-bounces at rubyforge.org wrote: > >> Hi Philippe, > >> > >> Using "move_to_right_of(root)" or "move_to_left_of(root)" should work. > >> > >> Do you think that we should add the ability to use > >> "move_to_child_of(nil)"? How does everyone else on the list > >> feel about this? > > > > Hi, > > > > I have the feeling it wouldn''t be too bad, but maybe another function > > called move_to_root() would be better? > > I agree on the move_to_root() name,should it be only an alias for > move_to_right_of(root). > > Jean-Christophe Michel > -- > symetrie.com > > Better Nested Set for rails: > http://opensource.symetrie.com/trac/better_nested_set > > _______________________________________________ > Betternestedset-talk mailing list > Betternestedset-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/betternestedset-talk >