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

Provide #delete_if for embedds many. #2339

Closed
wants to merge 1 commit into from

Conversation

hanshasselberg
Copy link
Contributor

Fixes #2324.

@travisbot
Copy link

This pull request fails (merged 666cea8 into fec64f8).

@hanshasselberg
Copy link
Contributor Author

Oh, these failures were there before: http://travis-ci.org/#!/mongoid/mongoid/jobs/2303507.

@travisbot
Copy link

This pull request fails (merged 666cea8 into fec64f8).

@durran
Copy link
Member

durran commented Sep 7, 2012

Really that was it? I'm surprised it didn't screw up the default scoping stuff (the _unscoped target in the embeds_many). Sweet.

@durran
Copy link
Member

durran commented Sep 8, 2012

Problem here is that the repercussions of this weren't tested and I don't have the confidence around that area to pull this in. (Ie that enumerable target would get passed on into criteria on embedded relations.)

Also, the core issue was not tested and didn't actually work... The documents were removed, but nothing was actually persisted (no proper $pulls happened).

@durran durran closed this in 9823a83 Sep 8, 2012
@hanshasselberg
Copy link
Contributor Author

Ouch, don't know why it didn't occured to me to test if its persisted - sorry!

@durran durran added the fixed label May 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants