koloa
2006-Aug-15 23:24 UTC
[Rails] how do i print to command prompt from the controller or
class? i tried puts and STDOUT but no avail. any help? I am trying to debug why i am getting a nil object when there is data in my table. THANKS! -- Posted via http://www.ruby-forum.com/.
Jeff Pritchard
2006-Aug-16 01:53 UTC
[Rails] Re: how do i print to command prompt from the controller or
koloa wrote:> class? > > i tried puts and STDOUT but no avail. any help? I am trying to debug why > i am getting a nil object when there is data in my table. > > > THANKS!This doesn''t exactly answer your question, but why not write to the development log instead using logger.info()? jp -- Posted via http://www.ruby-forum.com/.