Closed rajeevkhangar closed 7 years ago
I don't think that's possible, as the hierarchy is not defined via an association. However, I think you could work around it by specifying the optional block. What I would do is something like the following:
deep_clone
, which sets the accessorI hope you can find a solution for this. It would be nice if you could share it with us when you do ;)
please look into this. https://github.com/stefankroes/ancestry
I would like to keep ancestry data as well when I am going to deep clone and ancestry column value should
be changed during deep cloning.
Please suggest me what should i do.