Re: [Rails-core] Re: ruby 1.8.5 warnings

2006-08-02 Thread Jamis Buck
Nicholas Seckar wrote: On 8/1/06, *Courtenay* <[EMAIL PROTECTED] > wrote: In some cases, (mainly routing), there is a bunch of whitespace to help readability... This is just the sign of an ongoing battle between Jamis and I. Eventually one will emerge th

Re: Re: [Rails-core] Re: ruby 1.8.5 warnings

2006-08-02 Thread Nicholas Seckar
On 8/1/06, Courtenay <[EMAIL PROTECTED]> wrote: In some cases, (mainly routing), there is a bunch of whitespace tohelp readability...This is just the sign of an ongoing battle between Jamis and I. Eventually one will emerge the winner, and the other will stop using so much whitespace. ;-) 

Re: Re: [Rails-core] [PATCH] Giving acts_as_nested_set some love and moving nodes around in a tree

2006-08-02 Thread David Heinemeier Hansson
>> Particularly given the few people using it, and the 'fragility' >> of the code.. > > I don't think it's really "few". I still can't get it to work for my simple examples in the book, and I'm not documenting it in the second edition because of that. I've tried to find folks to look at the pro

Re: [Rails-core] Testing has_many :dependent => :restrict

2006-08-02 Thread Daniel N
On 29 Jul 2006 20:04:41 -, Kevin Olbrich <[EMAIL PROTECTED]> wrote: On Saturday, July 29, 2006, at 1:29 PM, Daniel N wrote:>On 7/27/06, Jeremy Kemper < [EMAIL PROTECTED]> wrote: On Jul 26, 2006, at 6:06 AM, Daniel N wrote:>> > I've had a crack at this one and it is as I feared.>> > >> > If

Re: [Rails-core] [PATCH] Giving acts_as_nested_set some love and moving nodes around in a tree

2006-08-02 Thread Dave Thomas
On Aug 2, 2006, at 9:43 AM, Julian 'Julik' Tarkhanov wrote: Particularly given the few people using it, and the 'fragility' of the code.. I don't think it's really "few". I still can't get it to work for my simple examples in the book, and I'm not documenting it in the second edition b

Re: [Rails-core] [PATCH] Giving acts_as_nested_set some love and moving nodes around in a tree

2006-08-02 Thread Julian 'Julik' Tarkhanov
On 2-aug-2006, at 12:37, court3nay wrote: Particularly given the few people using it, and the 'fragility' of the code.. I don't think it's really "few". -- Julian 'Julik' Tarkhanov please send all personal mail to me at julik.nl ___ Rails-core m

Re: [Rails-core] [PATCH] Giving acts_as_nested_set some love and moving nodes around in a tree

2006-08-02 Thread Blake Watters
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Aug 2, 2006, at 6:37 AM, court3nay wrote: On Aug 2, 2006, at 3:28 AM, Lars Pind wrote: I've added a new feature to acts_as_nested_set, namely the ability to move a node within a tree. It is accomplished with calls ActiveRecord::Base.update_a

Re: [Rails-core] [PATCH] Giving acts_as_nested_set some love and moving nodes around in a tree

2006-08-02 Thread court3nay
On Aug 2, 2006, at 3:28 AM, Lars Pind wrote: I've added a new feature to acts_as_nested_set, namely the ability to move a node within a tree. It is accomplished with calls ActiveRecord::Base.update_all, works fine on a whole subtree, and works by opening a gap for the destination, moving,

[Rails-core] [PATCH] Giving acts_as_nested_set some love and moving nodes around in a tree

2006-08-02 Thread Lars Pind
I've added a new feature to acts_as_nested_set, namely the ability to move a node within a tree. It is accomplished with calls ActiveRecord::Base.update_all, works fine on a whole subtree, and works by opening a gap for the destination, moving, and then closing the gap at the origin. But