Skip to content
Browse files

sorry there are no needs to include Mongoid::EagerLoading

  • Loading branch information...
1 parent cb320ca commit 3026e4ba2f22fa2fbc9afc8f4d5f3c1c987a4c71 @flyerhzm committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 README.md
View
3 README.md
@@ -14,11 +14,10 @@ define it in your Gemfile
gem "mongoid-eager-loading"
-include the module after Mongoid::Document
+suppose you have a mongoid model Post
class Post
include Mongoid::Document
- include Mongoid::EagerLoading
referenced_in :user
references_many :comments

0 comments on commit 3026e4b

Please sign in to comment.
Something went wrong with that request. Please try again.