mongoid/mongoid — pull request #3018 by jerryclinesmith (2013-05-03 02:25:13+00:00)
Title: Uniqueness validator doesnt mongoize

The uniqueness validator doesn't call mongoize on the value used to create the validation query. This is causing it to fail when using custom types.