closure_tree
closure_tree copied to clipboard
Flat version of hash tree
Is there a way to get a flat version of a hash tree. It doesn't have to be a hash tree, but just be ordered in the same way, and be flat.
besides selfAndDescendants
?
Yeah. I could use that but my model is Comments and a Post has_many Comments, so i would have to have 1 level of nesting On Sun, May 14, 2017 at 5:36 PM Matthew McEachen [email protected] wrote:
besides selfAndDescendants?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mceachen/closure_tree/issues/270#issuecomment-301351266, or mute the thread https://github.com/notifications/unsubscribe-auth/AF1W05Qd2OKYgnjHcVqbJTWkIfIQ3GUpks5r553-gaJpZM4Najhg .
Also, self_and_descendants is ordered by depth, so the order is wrong.