From: Brian Candler on
RichardOnRails wrote:
> Below is my code, which works fine in Ruby 1.8.6 (with Rails 2.3.5),
> except that sync and flush both return NoMethod. Have thos methods
> been eliminated?

sync= and flush are instance methods on IO objects. I don't think Logger
has them. Do you have anything which suggests that it does/did?
--
Posted via http://www.ruby-forum.com/.

From: RichardOnRails on
Hi Brian,

> sync= and flush are instance methods on IO objects. I don't think Logger
> has them. Do you have anything which suggests that it does/did?

I found these on http://maintainablesoftware.com/articles/rails_logging_tips

I was particularly interest in some flush capability the Logger seemed
to truncate the last logged msg.

Thanks for responding.

Best wishes,
Richard


 | 
Pages: 1
Prev: CHANCE YOUR LIFE CLICK THEAR
Next: Cpp Complier