From: Sukeerthi Adiga Date: 2008-02-25T17:49:06+09:00 Subject: Re: NoMethodError: private method `to_date' > Hi Sukeerthi, Better u change your rails version, Mine is rails 1.2.3, > The problem what you have sent its working fine. > > deepac@deepa-UBUNTU-7:~/workspace/srishti$ script/console > Loading development environment. >>> Time.now > => Mon Feb 25 13:03:46 +0530 2008 >>> a = Time.now > => Mon Feb 25 13:04:07 +0530 2008 >>> a.to_date > => # >>> Time.now.to_date > => # > :0) Okay deepa let me c that.. Thanks for ur reply -- Posted via http://www.ruby-forum.com/.