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

Fix MONGOID-5059 set nilifies attributes excluded via only #4978

Merged
merged 1 commit into from Apr 6, 2021

Conversation

p-mongo
Copy link
Contributor

@p-mongo p-mongo commented Mar 31, 2021

No description provided.

@p-mongo p-mongo changed the title MONGOID-5059 5059 Fix MONGOID-5059 set nilifies attributes excluded via only Mar 31, 2021
@p-mongo
Copy link
Contributor Author

p-mongo commented Mar 31, 2021

Copy link
Collaborator

@alexbevi alexbevi left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -345,9 +462,10 @@ of handling this as well.
person.attributes = { first_name: "Jean-Baptiste", middle_name: "Emmanuel" }
person.write_attributes(
first_name: "Jean-Baptiste",
middle_name: "Emmanuel"
middle_name: "Emmanuel",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is a typo (the added comma) .... unless you wanted to add

  last_name: "Zorg"

🤣

@p-mongo p-mongo merged commit a208c73 into mongodb:master Apr 6, 2021
p-mongo added a commit that referenced this pull request Apr 6, 2021
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
p-mongo added a commit that referenced this pull request Apr 6, 2021
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
p-mongo added a commit that referenced this pull request Apr 6, 2021
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants