No I didn't realize that.  Because that is some "crazy correlated 
subquery for no good reason" that I would probably never do.  But, in 
this case, I will look into it.

Thanks,
Wes

Ed W wrote:
> Wes Gamble wrote:
>   
>> I got this working.  However, it seems like I am forced to use the 
>> :method form of sorting, because the :sql option only allows a valid 
>> ORDER BY clause.
>>
>> If I wanted to use a join and order by my association's attribute, would 
>> I have to override the AS sort method itself?  I'm assuming so.
>>   
>>     
>
> Perhaps you don't realise that in SQL you can sort on a subquery?
>
> Ed W
>
>
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

  • So... Wes Gamble
    • ... Ed W
      • ... Wes Gamble
        • ... Ed W
          • ... Wes Gamble
            • ... Ed W
              • ... Wes Gamble
              • ... Wes Gamble
        • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

Reply via email to