digitalplaywright/mongoid-slug — pull request #85 by DouweM (2012-09-15 13:51:17+00:00)
Title: Fix index when using a scope.

The old code was wrong for two reasons:

* `slug_scope: 1` != `slug_scope => 1`
* the index key shouldn't literally be `slug_scope` when it's referring to a relation. (`company` vs `company_id`)