mongoid/mongoid — Issue #1706: Improve Logging around Index Creation.
Author: durran
Created: 2012-02-12 12:36:22+00:00
State: open
Labels: enhancement

Specifically when running `rake db:create_indexes`:

- When a root class has index and it is created: `Creating indexes on: Model on: fields`
- When an index is specified on an embedded model: `Index ignored on: Model, please define in the root Model`
- When no indexes are defined, don't log anything.
- When invalid indexes are defined, raise the error.