mongoid/mongoid — comment on commit 791a6d111de053333461dd775725803c74a8e7e5
File: lib/mongoid/validations/uniqueness.rb line 159
By durran:

Works for me.