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

Naming a field 'hash'

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      I noticed that validates_uniqueness_of doesn't seem to work on my field which is named hash. Not sure if this is a prob with mongoid or some other name conflict. The field works correctly in every other respect that I've tried (assigning etc).

      Anyone know a work around that might get validates_uniqueness_of working? Thanks!

            Assignee:
            Unassigned Unassigned
            Reporter:
            barmstrong Brian Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: