small doubt HELP me

What do you mean by "I have table like this"? is an ASCII table and
you want to parse it and generate the output, or you have a table like
that in your data base?

He means the content of his SQL table represented as ASCII was as he
had it.

Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/

Hi Shankar,

It would help if you explained where exactly you want that kind of
output.
In the views?
and by "2009-02-12=>" you mean the query to the DB should be based on
the 'when' field?

Ram,

    Thanks for your help dude.Yes, I would like to have the output in
the 'view' and the value should be fetched based on 'when' and 'to'
fields.

cheers,
shankar.