spec/models/survey.rb in mongoid-eager-loading-0.2.0 vs spec/models/survey.rb in mongoid-eager-loading-0.3.0
- old
+ new
@@ -1,6 +1,5 @@
class Survey
include Mongoid::Document
embeds_many :questions
-
accepts_nested_attributes_for :questions, :reject_if => lambda{ |a| a[:content].blank? }, :allow_destroy => true
-end
\ No newline at end of file
+end