Re: select only if exist?

Frederick Cheung
Sat, 23 Aug 2008 17:25:36 -0000

On 23 Aug 2008, at 17:14, Phillip Koebbe wrote:

>
> 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".

Of course, brain switched off.
>
>
> Peace,
> Phillip
> --
> Posted via http://www.ruby-forum.com/.
>
> >