Sorting siblings #83

ncolgan opened this Issue Nov 30, 2011 · 0 comments


None yet

1 participant

ncolgan commented Nov 30, 2011

I'm able to get an array of a tree using sort_by_ancestry. How do I then sort the siblings by created_at? I read that this can be done using acts_as_list, but I don't need sorting to be persistent (I have no use of maintaining a position column in my database). Is there a way I can just do this kind of sorting on the fly?

@ncolgan ncolgan closed this Dec 1, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment