From: Shiva Kumaran Date: 2008-02-25T16:11:26+09:00 Subject: Re: NoMethodError: private method `to_date' just try in console mode :/ruby script/console it will work Sukeerthi Adiga wrote: > Loading development environment. >>> Time.now.to_date > Time.now.to_date > NoMethodError: private method `to_date' called for Mon Feb 25 12:04:10 > +0530 2008:Time > from (irb):1 >>> > > earlier it use to work fine.. > can any one help me whats the prob is? > > in terminal it shows like this.. > > sukeerthi@sukeerthi-desktop:~$ ruby -v > ruby 1.8.6 (2007-06-07 patchlevel 36) [x86_64-linux] > sukeerthi@sukeerthi-desktop:~$ -- Posted via http://www.ruby-forum.com/.