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

Added allow_remove option to has_many DSL #5683

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mashedkeyboard
Copy link

Allows the "remove nested resource" button in a form's nested resources to be disabled from within the DSL. This is useful in situations where you have a has_many relationship, but you still want to require at least one resource to be included, as you can force there to be at least one that appears in the form.

Allows the "remove nested resource" button to be disabled from within the DSL.
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.

None yet

1 participant