diff --git a/source/en/mongoid/docs/indexing.haml b/source/en/mongoid/docs/indexing.haml index 8552da5a..48d2cec0 100644 --- a/source/en/mongoid/docs/indexing.haml +++ b/source/en/mongoid/docs/indexing.haml @@ -125,3 +125,11 @@ :coderay #!ruby rake db:mongoid:remove_indexes + +%p + Finally, Mongoid provides a rake task to delete all and only the non-defined + indexes (the ones that do not exist in the models anymore). + +:coderay + #!ruby + rake db:mongoid:remove_undefined_indexes