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
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
2 matches
Mail list logo