spec/models/answer.rb in mongoid-eager-loading-0.2.0 vs spec/models/answer.rb in mongoid-eager-loading-0.3.0
- old
+ new
@@ -1,4 +1,4 @@
class Answer
include Mongoid::Document
- embedded_in :question, :inverse_of => :answers
+ embedded_in :question
end