closure_tree icon indicating copy to clipboard operation
closure_tree copied to clipboard

Is there a way to copy the tree structure from one model to another?

Open niknjegovan opened this issue 10 years ago • 0 comments

I have two related models that are using closure tree to handle the hierarchy. Machines Inspections and a Machine has_many inspections.

I'm trying to work out a way that given a couple of Machine trees, I can create Inspections related to these Machines and copy over the tree structure so that inspections are mirroring the tree structure of machines independently.

Any guidance is most appreciated!

niknjegovan avatar Jun 12 '15 19:06 niknjegovan