Thanks Jeremy,

Ill test both those options and look at the queries. 

On Tuesday, July 3, 2012 2:02:04 PM UTC+10, Jeremy Evans wrote:
>
> 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/-/GzZi98lLwScJ.
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