mongoid/mongoid — pull request #3192 by johnnyshields (2013-07-28 11:38:55+00:00)
Title: Fix uniqueness validator for the combination of localized and aliased fields

This currently has an error:

```
field :foo, as: :foobar, localize: true, type: String

validates_uniqueness_of :foobar
```