Hi, I have two table with the following structure ================ Projects Table ================ id| Name | Description ================ ============================== Tasks Table ============================== id|project_id|task_name|complete_dt|effort ============================== table and task are related by a one-to-many association
Is there any way to query Tasks using active record and get effort put in on each day? Doing this via SQL is trivial, but for the life of me haven't been able to figure out how to do this using the Model Any ideas ? -- 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.