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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
60e38de043848f82392062088f191213?d=identicon&s=25 Hogan, Brian P. (Guest)
on 2006-03-10 15: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.