Acceptance validation not behaving properly with a Proc

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 6.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
              Reporter:
              Alexandre Ponsin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: