It's not related to rails4, it was changed some time ago, you have to set sql to sort (previously was sorting by association primary key, which makes no sense): config.columns[:association_column].sort_by :sql => 'table.column'
El Martes, 10 de marzo de 2015 00:52:55 kranthi kumar escribió: > I was upgrading the ruby on rails . the sort on the association columns are > working before . but not now. How to enable the sort function. It is > working for other columns . the columns which have associations are not > working. -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/activescaffold. For more options, visit https://groups.google.com/d/optout.
