Skip to content

Allow configuration of embedded models to fire callbacks on parent save (#237) #1058

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

Closed
wants to merge 1 commit into from

Conversation

pyromaniac
Copy link
Contributor

Allow configuration of embedded models to fire callbacks on parent save (#237)

This is the same patch, but i've made it more actual

@timoschilling
Copy link
Contributor

+1

@nickhoffman
Copy link
Contributor

This looks great, @pyromaniac! All of the specs pass for me. I'd like one or two other core team members to examine this before it's pulled in because it changes some very important parts of Mongoid.

@negrienko
Copy link

+1

@priyaaank
Copy link
Contributor

This is definitely needed! +1

@arunagw
Copy link
Contributor

arunagw commented Jul 16, 2011

@nickhoffman Looks good to me.!

@nicholaides
Copy link

+1

@durran
Copy link
Member

durran commented Jul 18, 2011

Once I've finished the 3 issues left for 2.1.0 I'll grab this.

@nickhoffman
Copy link
Contributor

@durran Would you like me to merge this in, or would you prefer to comb through the changes yourself?

@durran
Copy link
Member

durran commented Jul 18, 2011

I'll pull it in once I get the identity map integration branch in - there will be some conflicts.

@nickhoffman
Copy link
Contributor

Sounds good!

@justinko
Copy link

Ooo I need this right now!

@ches
Copy link
Contributor

ches commented Aug 1, 2011

This is the 2.1.2 tag with this branch merged on top, if it spares anyone else the trouble of doing the same thing:

https://github.com/ches/mongoid/tree/v212-cascade-callbacks/

There were no merge conflicts and 0 test failures on 1.9.2-p290.

@pyromaniac
Copy link
Contributor Author

Oh, thank you, also here is patch rebased on mongoid master

@christospappas
Copy link
Contributor

+1

@nickhoffman
Copy link
Contributor

Since pull requests aren't listed in the issues list, and thus can't be tagged with a milestone, I've created issue #1250 to give this pull request more attention.

@dryaf
Copy link

dryaf commented Sep 21, 2011

+1

durran added a commit that referenced this pull request Oct 3, 2011
- This includes the original pull request, plus rebases from many
  contributing to the request, plus my refactors and extended test
  coverage and rdoc.
- This does not include multi-level nested documents.
- This does not include prevention of double calls on new child save.
@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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.