> That sort would have ordered the users (from the 'main' find) by > descending last_activity_at, not the associations (which are loaded > with a separate find) > > Fred
Ohh I see, I was trying to sort friendships table, but there is no column last_activity_at. I guess that's it. :( or is there a way to re-sort the data by last_activity_at ? Cheers -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

