Forum: Ruby on Rails small doubt HELP me

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C9b09268e3cfcf33311cf0c85ba30ada?d=identicon&s=25 Shankar Ganesh (lookshankar)
on 2009-02-04 11:31
Hi ,

    I have table like this
     ---------------------------------------------------------------
    |id | what   | when      | color  |   to      | description     |
---------------------------------------------------------------
1  | test   |2009-02-01 | red    |2009-02-15 | hi this is test |
---------------------------------------------------------------
2  | test2  |2009-02-02 | green  |2009-02-14 | hi this is test |
---------------------------------------------------------------
80e4cb97cae5c8d745f72337d93fd8f2?d=identicon&s=25 MaD (Guest)
on 2009-02-04 11:37
(Received via mailing list)
not only that you haven't given your post a good title ("Help me" says
nothing), but you didn't even specify your question or problem in your
post.
3131fcea0a711e5ad89c8d49cc9253b4?d=identicon&s=25 Julian Leviston (Guest)
on 2009-02-04 12:23
(Received via mailing list)
And?

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

On 04/02/2009, at 9:31 PM, Shankar Ganesh
<rails-mailing-list@andreas-s.net
80583db5af674ca20393f42a20101129?d=identicon&s=25 Miguel Regedor (Guest)
on 2009-02-04 17:07
(Received via mailing list)
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?

On Feb 4, 10:31 am, Shankar Ganesh <rails-mailing-l...@andreas-s.net>
3131fcea0a711e5ad89c8d49cc9253b4?d=identicon&s=25 Julian Leviston (Guest)
on 2009-02-05 02:41
(Received via mailing list)
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/

On 05/02/2009, at 3:06 AM, Miguel Regedor <miguelregedor@gmail.com>
C9b09268e3cfcf33311cf0c85ba30ada?d=identicon&s=25 Shankar Ganesh (lookshankar)
on 2009-02-05 04:33
Hi all,

     My apologies for posting a small amount of data, there was some
mistake in posting this post.You can see the full post of the forum here
http://www.ruby-forum.com/topic/177617#777504. Thanks for all your
response.

Cheers,
Shankar.
2dddec0f7717cae77ac6bceede6be5bc?d=identicon&s=25 Ram (Guest)
on 2009-02-05 06:34
(Received via mailing list)
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?

On Feb 5, 8:33 am, Shankar Ganesh <rails-mailing-l...@andreas-s.net>
C9b09268e3cfcf33311cf0c85ba30ada?d=identicon&s=25 Shankar Ganesh (lookshankar)
on 2009-02-05 06:37
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.
This topic is locked and can not be replied to.