On 25 Jun 2008, at 15:18, James H. wrote:
>
> Hey gang.
>
> Is it possible to extend the eager load SQL at all? What I''m
hoping
> to do is eagerly load an associate that, in turn, joins in some data
> from another table.
>
There is a plugin (http://kellogg-assoc.com/articles/2006/11/05/eager-finder-sql
) that allows you to have the result set of a completely custom query
stuck through the eager loading instantiation stuff (just in case you
didn''t know, eager loading does allow you to nest associations).
Fred> Many thanks,
>
> James
> >
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---