mongoid/mongoid — pull request #1741 by i0rek (2012-02-21 16:05:57+00:00)
Title: Add a rake task to remove indexes.

#1573 asked for a way to remove the indexes from mongoid models as they can only be created.

I added the task rake db:mongoid:force_remove_indexes which removes every index, except _id, from the collection without asking questions! There is no possibility at the moment to confirm the deletion on a model basis which would be nice.

These changes are also temporary because of the upcoming changes regarding the mongo driver.