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

Acceptance validation not behaving properly with a Proc

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.1
    • Affects Version/s: None
    • Component/s: None
    • None

      Just wanted to bring your attention to this guys:
      http://stackoverflow.com/questions/24500069/mongoid-validations-using-acceptance-with-a-proc-or-lambda-is-not-working-b

      Basically, trying to write a validation with acceptance with on a condition based on a Proc is not working. But it is working using the inclusion validation.

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            textmaster Alexandre Ponsin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: