search for: tasklog

Displaying 1 result from an estimated 1 matches for "tasklog".

Did you mean: masklog
2006 Apr 30
4
Adding values from a db the rails way?
...task. So there''ll be multiple lines for a particular task. I want to retrieve the total number of hours worked on a task, so that I can include the information when one views the task details. I can write a sql query to do this easily enough, like "SELECT SUM(hours) AS total FROM tasklog WHERE task_id = x", but what''s the rails way to do this? thx n. -- Posted via http://www.ruby-forum.com/.