Article View: pl.comp.lang.ruby
Article #929Re: Eager loading + include
From: Jaroslaw Zabiello
Date: Fri, 15 Feb 2008 16:43
Date: Fri, 15 Feb 2008 16:43
16 lines
1281 bytes
1281 bytes
On Wed, 13 Feb 2008 09:40:47 -0000, Alan <alan@interia.pl.aaaaa> wrote: > Czy ktoś z grupowiczów próbował swoich sił w znalezieniu sposobu na > zmuszenie Eager loadingu do nie pomijania selectu? Jakiś patch może? > > Tak na marginesie zastanawiam się dlaczego to do tej pory nie zostało > zrobione. Zmień ten lamerski ORM na Sequela. Albo użyj :join. find :all, :select => 'pole', :join => "LEFT JOIN tabela2 ON ..." -- Jarosław Zabiełło http://blog.zabiello.com irc://irc.eu.freenode.net/ruby.pl
Technical Details
Message-ID:
<op.t6krfcyrr2rg33@jzmbp.westglobal.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<fouds6$3av$1@news2.task.gda.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: "Jaroslaw Zabiello" <abuse@tpnet.pl> Newsgroups: pl.comp.lang.ruby Subject: Re: Eager loading + include Date: Fri, 15 Feb 2008 16:43:50 -0000 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 16 Message-ID: <op.t6krfcyrr2rg33@jzmbp.westglobal.com> References: <fouds6$3av$1@news2.task.gda.pl> NNTP-Posting-Host: 62.77.187.21 Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1203093831 22622 62.77.187.21 (15 Feb 2008 16:43:51 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Fri, 15 Feb 2008 16:43:51 +0000 (UTC) X-User: hipertracker User-Agent: Opera Mail/9.25 (MacIntel) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit