On Tuesday, December 8, 2015 at 12:03:08 PM UTC-8, Chris Hanks wrote:
>
> Thanks! What do you mean by a different meaning, though? User.eager(posts: 
> proc{|ds| ds.published.limit(5)}) simply tacks on the LIMIT to the Post 
> load, but I'm having a hard time seeing why anyone would want/use that 
> behavior?
>

I'm sure anyone would want to use it, but as it currently would result in 
different behavior than you are proposing, I'd think a custom key would 
work better.
 

> I think the :eager_limit option would be fine, though - it would probably 
> also be helpful to be able to specify an :eager_limit_strategy in the same 
> call.
>

I agree, that sounds like a good idea as well.

Thanks,
jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to