Forum: Ruby on Rails RE: Re: Preloading child rows 2 levels deep?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Hogan, Brian P. (Guest)
on 2006-03-10 16:25
(Received via mailing list)
Find_by_sql :)
Maybe you can just write the sql statement to get your results. I don't
know your table relationships so I really can't say if that would work
for you or not.

I had project ->tasks ->time and I was able to get a list of all hours
logged for a project for all tasks using find_by_sql.

Hope that helps!
This topic is locked and can not be replied to.