On 1 Jul., 07:49, Mike Sax <[EMAIL PROTECTED]> wrote: > > products = Product.find(:all, :conditions => ['category.name = ?', > "Books"]) > > which would then generate the left outer join query.
Sorry, if I am missing something here. But wouldn't it be perfectly legitimate with today's implementation to do products = Product.find(:all, :include => :categories, :conditions => ['category.name = ?', "Books"]) Just my .02 Cheers, Martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en -~----------~----~----~----~------~----~------~--~---
