mongodb/mongo-ruby-driver — pull request #467 by estolfo (2014-08-26 11:37:29+00:00)
Title: With ensure_index, don't pass ruby-formatted opts to createIndex command

We had this issue with #create_index but I neglected to change #ensure_index as well. This PR changes #ensure_index in the same way as PR #460.

The drop_dups and bucket_size options were not being deleted from the opts passed through to the createIndex command.