Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to set :dependent option #32

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

wollistik
Copy link
Collaborator

@wollistik wollistik commented Aug 9, 2023

This adds a new option dependent to the acts_as_recursive_tree macro. It will be directly forwarded to the children scope and can be used to control behaviour when deleting a parent node.

Closes #31

@wollistik wollistik force-pushed the feature/enable_setting_dependent_option branch from 2a65733 to f4c9c22 Compare August 9, 2023 14:07
@wollistik wollistik merged commit 919daa7 into main Aug 10, 2023
20 checks passed
@wollistik wollistik deleted the feature/enable_setting_dependent_option branch August 10, 2023 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there an option for recursive deletion?
1 participant