Skip to content

Commit

Permalink
fix association_scope.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
dishangyijiao committed Dec 27, 2024
1 parent 3b01db6 commit 738fe0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/mongoid/association_scope.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ module Mongoid
module AssociationScope
if Mongoid::VERSION >= "7.0.0"
Mongoid::Association.include Macros
Mongoid::Association::Eager::Base.prepend Eager
Mongoid::Association::Metadata.prepend Metadata
Mongoid::Association::Referenced::Eager::Base.prepend Eager
Mongoid::Association::Options.include Options
[
Mongoid::Association::Referenced::BelongsTo,
Expand Down

0 comments on commit 738fe0a

Please sign in to comment.