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

MONGOID-5694 Fix validations on associations - DO NOT MERGE #5742

Closed
wants to merge 2 commits into from

Conversation

comandeo
Copy link
Contributor

@comandeo comandeo commented Nov 7, 2023

No description provided.

@comandeo comandeo force-pushed the 5694-fix-validations branch from 7613f6d to b3dd4a1 Compare November 10, 2023 16:02
session.abort_transaction unless result
end
end
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work on versions of MongoDB which don't support transactions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it doesn't. It also does not work on standalones, which is a supported topology by Mongoid. I am just looking for possible solutions in this draft; it won't be merged.

@comandeo comandeo changed the title MONGOID-5694 Fix validations on associations MONGOID-5694 Fix validations on associations - DO NOT MERGE Nov 13, 2023
@comandeo comandeo closed this Nov 15, 2023
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.

3 participants