I submitted a patch last week to solve the problem that limited eager-loaded find statements will usually drop any explicit joins. For instance... Article.find(:all, :include => :author, :limit => 10, :joins => 'INNER JOIN comments ON comments.article_id = articles.id')
...is currently broken because the joins are not included on the prequery. Test and Fix patches are ready to go. Should be a no-brainer to apply, just need a few +1 http://dev.rubyonrails.org/ticket/9496 -- Gabe da Silveira http://darwinweb.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
