Any one help


id | what | when | color | to | description |

1 | test |01/01/2009 | red |04/01/2009 | hi this is test |

2 | test2 |02/01/2009 | green |04/01/2009 | hi this is test |

3 | test3 |01/01/2009 | blue |04/01/2009 | hi this is test |

4 | test4 |02/01/2009 | orange |04/01/2009 | hi this is test |

I WANT TO HAVE OUTPUT LIKE THIS.,

20090101 “

test
test3”
20090102 “
test2
test
test3
test4”
20090103 “
test2
test
test3
test4”
20090104 “
test2
test
test3
test4”

Thanks in Advance

Hi Shankar,

Have a look at the api documentation for the cycle method

http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#M001551

Thanks,
Rob

Is it possible to get using cycle method??

Rob Zolkos wrote:

Hi Shankar,

Have a look at the api documentation for the cycle method

http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#M001551

Thanks,
Rob