[Rails] Re: noob question on active record

2011-03-22 Thread Sebastian Gräßl
Hej Herman, did you take a look at the group method. http://guides.rubyonrails.org/active_record_querying.html#group I bet you can do it easier. Best, Sebastian -- Sebastian Gräßl sebast...@validcode.me http://validcode.me -- You received this message because you are

[Rails] Re: noob question on active record

2011-03-22 Thread Herman
Hi Sebastian, I did try group on activerecord, what I did was group by day. However, after that, how do I print out the table I layout before? On Mar 22, 5:23 am, Sebastian Gräßl sebast...@validcode.me wrote: Hej Herman, did you take a look at the group