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-5654 [Monkey Patch Removal] Move Hash#__consolidate__ into Mongoid::Contextual #5689

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix minor documentation error
jamis authored Aug 28, 2023
commit fed4681f9cf0d303e023d86681fdf7779dcf6414
2 changes: 1 addition & 1 deletion lib/mongoid/contextual/mongo.rb
Original file line number Diff line number Diff line change
@@ -1070,7 +1070,7 @@ def retrieve_nth_to_last_with_limit(n, limit)
# Non-operator keys are assumed to use $set operation.
#
# @param [ Class ] klass The model class.
# @param [ Hash ] The attributes to convert.
# @param [ Hash ] attributes The attributes to convert.
#
# @return [ Hash ] The prepared atomic updates.
def prepare_atomic_updates(klass, attributes)