mongoid/mongoid-site — pull request #185 by tiagogodinho (2012-09-22 00:50:39+00:00)
Title: Fixes the syntax of the indexes in the section "Localized fields"

Replace:

``` ruby
class Product
include Mongoid::Document
field :description, localize: true

index "description.de"
index "description.en"
end
```

by:

``` ruby
class Product
include Mongoid::Document
field :description, localize: true

index "description.de" => 1
index "description.en" => 1
end
```