Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-913

accepts_nested_attributes_for reject_if

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • 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)

            Assignee:
            Unassigned Unassigned
            Reporter:
            rurounijones Jeffrey Jones
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: