Flowdock
method

add_child

Importance_1
v1.1.6 - Show latest stable - 0 notes - Class: ActiveRecord::Acts::NestedSet::InstanceMethods
add_child( child ) public

Adds a child to this object in the tree. If this object hasn’t been initialized, it gets set up as a root node. Otherwise, this method will update all of the other elements in the tree and shift them to the right, keeping everything balanced.

Show source
Register or log in to add new notes.