I'm using the acts_as_commentable_with_threading gem. This gem includes the method 'comment.children', which creates a hash of all the child comments. By default, it orders the children by created_at ASC. I want to change the way the children are ordered, but as far as I know, I cannot directly edit this method. Instead, I've been trying to reorder them in the view like so:
<% @comments = comment.children.order('created_at DESC') %>
Unfortunately, this has no effect. Any idea what I'm doing wrong?