Accounting for change in Mongoid's metadata API.
Merge pull request #21 from pjkelly/master

Accounting for change in Mongoid's metadata API.