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

validates_uniqueness_of with multiple :scope not working

      I am using mongoid version 3.0.16

      validates :type, uniqueness:

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

      It's not validating data

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

              Created:
              Updated:
              Resolved: