Skip to content
This repository

how to add ancestor for root? #47

Closed
toannguyen opened this Issue · 1 comment

2 participants

gacon1280 Stefan Kroes
gacon1280

Hj, Stefankroes,
That's a great gem, thanks for all.
*node.children.create
*node.siblings.create

how i can create :

*node.parent.create
Any idea for this session?
^^

Stefan Kroes
Owner

node.parent = Node.create!
node.save

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.