spec/models/question.rb in mongoid-eager-loading-0.2.0 vs spec/models/question.rb in mongoid-eager-loading-0.3.0

- old
+ new

@@ -1,8 +1,8 @@ class Question include Mongoid::Document field :content - embedded_in :survey, :inverse_of => :questions + embedded_in :survey embeds_many :answers - + accepts_nested_attributes_for :answers, :reject_if => lambda { |a| a[:content].blank? }, :allow_destroy => true -end \ No newline at end of file +end