Sha256: b8ee9f95e292a4bd0547a3146d5109f4111d312dd65b26c73aca9fba3be2c670

Contents?: true

Size: 99 Bytes

Versions: 6

Compression:

Stored size: 99 Bytes

Contents

Mongoid::Finders.class_eval do
  def includes(*args)
    criteria.send(:includes, *args)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mongoid-eager-loading-0.3.1 lib/mongoid-eager-loading/mongoid/finders.rb
mongoid-eager-loading-0.3.0 lib/mongoid-eager-loading/mongoid/finders.rb
mongoid-eager-loading-0.2.0 lib/mongoid-eager-loading/mongoid/finders.rb
mongoid-eager-loading-0.1.2 lib/mongoid-eager-loading/mongoid/finders.rb
mongoid-eager-loading-0.1.1 lib/mongoid-eager-loading/mongoid/finders.rb
mongoid-eager-loading-0.1.0 lib/mongoid-eager-loading/mongoid/finders.rb