mongoid/mongoid — pull request #1511 by tiagogodinho (2011-12-20 03:16:59+00:00)
Title: validates_presence_of for localized fields

Implementation of `validates_presence_of` to work with localized fields.

```ruby
class Post
include Mongoid::Document

field :title, localize: true

validates_presence_of :title
end
```