-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
From what I can see of /lib/mongoid/relations/nested_builder.rb the mongoid implementation of :reject_if only accepts procs. Is this correct?
If so, a feature request would be for it to also allow a method using a symbol in the same manner as ActiveRecord (http://apidock.com/rails/ActiveRecord/NestedAttributes/ClassMethods/accepts_nested_attributes_for)