On Monday, July 2, 2012 6:57:38 PM UTC-7, natedooggg wrote:
>
> Thanks Jeremy,
>
> ill give that a go, in general though eager loading wont work for an 
> individual instance ?  
>

Well, there's no point in eager loading for an individual instance.  For 
example, both 

  Movie.eager(:scenes).where(:id=>1).all.first.scenes
  # and
  Movie[1].scenes
 
do almost the same queries.

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/pS-6GC_EntYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to