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.
>>      message = "#{message} (pid:#{$$})" if RAILS_ENV=="production"
>>      message = "#{message}\n" unless message[-1] == ?\n
>>      @buffer << message # TODO: this line no longer works with Rails
> 
> 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?
-- 
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to