Closed bhushangahire closed 7 years ago
Hmm... does acts_as_paradnoid add a default scope? The roots method is configurable, however, the children method called on each item isn't as flexible.
Does calling children
on your model with deleted items continue to return the deleted items? In other words, could this be more of an issue with the Ancestry (or other tree structure) gem?
Any update here? If so, I'll reopen the issue. But closing for now.
I am using acts_as_paranoid and when its calculating position its not adding the deleted_at default scope added by acts_as_paranoid. Which causing wrong position if there are any deleted columns