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.
Many thanks,
James
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.
Many thanks,
James
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs