validates_uniqueness_of with multiple :scope not working

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am using mongoid version 3.0.16

      validates :type, uniqueness:

      {scope: [:date, :office, :district, :party]}

      It's not validating data

              Assignee:
              Unassigned
              Reporter:
              kirandc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: