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 -~----------~----~----~----~------~----~------~--~---
