I have user table (last_activity, last_activity_at, …) and
friendships table (many to many).
What I am trying to do is to show to the user the last actions of
@activities = User.find_by_username(username, :order =>
'last_activity_at DESC', :include => [:friendships => :friend])
<%= render :partial => 'friends_activity', :collection =>
But the descending ordering is not working What I am missing here?