GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Mongoid.org says this about rake db:mongoid:remove_indexes:
"Mongoid also provides a rake task to delete non-defined indexes." (emphasis mine)
Having successfully nuked every index for my MongoDB instance with the above rake command, I can confirm first-hand that this documentation is wrong. :)
I'm assuming this is a documentation bug and not a bug in how Mongoid's rake tasks work.
Push indexing doc fixes. [ mongoid/mongoid-site#186 ]
Sorry about that, docs are updated now.