Merge pull request #37 from marklarr/master

Autogen for mongoid projects
Autogen: fix for if a model has no fields