Skip to content

Commit

Permalink
sorry there are no needs to include Mongoid::EagerLoading
Browse files Browse the repository at this point in the history
  • Loading branch information
flyerhzm committed Oct 27, 2010
1 parent cb320ca commit 3026e4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -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
Expand Down

0 comments on commit 3026e4b

Please sign in to comment.