[Rails] Re: rawk no longer works on Rails 2.2.2

2008-11-22 Thread Frederick Cheung
On Nov 22, 2:31 pm, Fernando Perez <[EMAIL PROTECTED]> wrote: > Frederick Cheung wrote: > > that line needs to be changed to buffer << message > > > Fred > > Smashing it works! Thanks Fred. How did you know about that? Do you > often dive into Rails source code? Well if you look at the original

[Rails] Re: rawk no longer works on Rails 2.2.2

2008-11-22 Thread Fernando Perez
Frederick Cheung wrote: > On 22 Nov 2008, at 13:51, Fernando Perez wrote: > >> message = (message || (block && block.call) || progname).to_s >> # If a newline is necessary then create a new message ending with >> a newline. >> # Ensures that the original message is not mutated. >>

[Rails] Re: rawk no longer works on Rails 2.2.2

2008-11-22 Thread Frederick Cheung
On 22 Nov 2008, at 13:51, Fernando Perez wrote: > > I just wanted to let you know that the hack to make rawk work on Rails > 2.2.2 by grouping action calls no longer works. > > This is the hack, I have put the TODO where the line crashes Rails: > -- > module ActiveSupport > class BufferedLogger