> > 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?

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