Closed allenwq closed 8 years ago
I think most of the time we want to delete the children after parent was deleted.
So a dependent option would be very useful, so that we can do:
dependent
acts_as_forest order: "name", dependent: :destroy
@jackc Any comments ?
Merged. Thanks.
@jackc Thanks a lot!
@jackc Do you mind to release a new version ?
Done.
@jackc Thanks so much !
I think most of the time we want to delete the children after parent was deleted.
So a
dependent
option would be very useful, so that we can do: