Re: select only if exist?

Phillip Koebbe
Sat, 23 Aug 2008 16:14:54 -0000

Frederick Cheung wrote:
> If you add a :joins => :assets then rails will add a left join (that
> will discard neighbourhoods with no assets)
>
> Fred

HI Fred,

Methinks you meant to say "inner join".

Peace,
Phillip
--
Posted via http://www.ruby-forum.com/.