On 27 Oct 2008, at 14:45, Lars Christensen wrote:

>
>>> orders = Order.find(:all, :include => :priority_products)
>>
>> This is a problem with 2.1's implementation of eager loading. You
>> should be able to force a fallback to the old code by adding  
>> something
>> like :conditions => "some trivial condition on the priority_products
>> or orders_products table")
>
> Thanks, this sovled the immediate problem. Will I need this workaround
> with future version of Rails or is it something being looked at?
>
I don't think 2.2 will be any different. I did have plans to look at  
it but got side tracked and didn't get it finished.

Fred
> Rgds,
> Lars
> >


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to