mongoid/moped — pull request #134 by neerfri (2013-01-09 12:08:44+00:00)
Title: Allow using readable index types

Hi,

This pull request adds the option to provide human readable arguments to ```Moped::Indexes``` methods.

This will enable the following code in Mongoid models:
```ruby
class PullRequest
include Mongoid::Document
field :useless_level, type: String

index useless_level: :asc
end
```

Let me know if you like where it's going so I can make the required changes in documentation both here and in mongoid.

Thanks!