On Miércoles, 15 de Septiembre de 2010 05:02:58 Andrey Voronkov escribió:
> Place belongs_to Lecturer
>
> I need config.list.sorting something like this:
> config.list.sorting => { :lecturer => { :name => :asc } }
>
> Can anybody provide an example of code that should work in my case
> (even if it is sort_by :sql or something similar)
{'lecturers.name' => ASC}
--
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]
--
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.