stefankroes / ancestry

Organise ActiveRecord model into a tree structure
MIT License
3.72k stars 458 forks source link

Rails 7 error if remove children deleted all path #591

Closed dastanabeuov closed 1 year ago

dastanabeuov commented 1 year ago

Hi

I recently updated version from 6 to 7 Rails

After the update, my descendants began to delete the entire path

Everything was working fine before the update.

What is the reason? Maybe someone already faced this problem when updating Rails

kbrock commented 1 year ago

I have not seen this problem

What does that mean "my descendants began to delete the entire path"

dastanabeuov commented 1 year ago

Thanks for the feedback. Problem solved, I just didn't upload correctly js (precompile)

kbrock commented 1 year ago

ok, I thought #635 may fix, but glad you are all set