Skip to content

Commit

Permalink
removed redefine load_async warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DarshanaVenkatesh committed Dec 13, 2024
1 parent eff554b commit 45ed9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongoid/contextual.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module Contextual

# The methods in the contexts themselves should all get delegated to,
# including destructive, modification, and optional methods.
def_delegators :context, *(Mongo.public_instance_methods(false) - [ :skip, :limit ])
def_delegators :context, *(Mongo.public_instance_methods(false) - [ :skip, :limit, :load_async ])

# This gets blank and empty included.
def_delegators :context, *Queryable.public_instance_methods(false)
Expand Down

0 comments on commit 45ed9a3

Please sign in to comment.