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-5660: Remove deprecated monkey-patch methods (merge in Mongoid 10.x) #5745

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
Merge branch 'master' into remove-deprecated-monkey-patch-methods
johnnyshields authored May 7, 2024
commit 96b3ba15bb92df48d375eb51e0a1774096d92f24
16 changes: 0 additions & 16 deletions lib/mongoid/extensions/object.rb
Original file line number Diff line number Diff line change
@@ -20,22 +20,6 @@ def __evolve_object_id__
end
alias :__mongoize_object_id__ :__evolve_object_id__

# Mongoize a plain object into a time.
#
# @note This method should not be used, because it does not
# return correct results for non-Time objects. Override
# __mongoize_time__ in classes that are time-like to return an
# instance of Time or ActiveSupport::TimeWithZone.
#
# @example Mongoize the object.
# object.__mongoize_time__
#
# @return [ Object ] self.
# @deprecated
def __mongoize_time__
self
end

# Get the value for an instance variable or false if it doesn't exist.
#
# @example Get the value for an instance var.
You are viewing a condensed version of this merge commit. You can view the full changes here.