Could not find column lecturers.name I think it's because in teaching_places i have only lecturer_id in my sql query
config.columns[:lecturer].includes = [:lecturer, :department] config.columns[:lecturer].sort_by :sql => 'lecturers.name' this did the trick 2010/9/15 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>: > {'lecturers.name' => ASC} -- 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.
