Hi, I just wanted to see if I am on the right track, as I am new to MVC.
I have a model called Tasks, and another called Entries. Tasks has many entries. Each entry has a time. So I want to total up the time entries so that I have a keyed array of task Ids => duration. In the end, I want to then print it out as a table in the reports view, doing things like filter by completed, by date, etc. Where should this hash be constructed? A function in a Report model? Thanks! arcX --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---