accepts_nested_attributes_for reject_if

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Jeffrey Jones
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: