mongoid/mongoid — pull request #1947 by i0rek (2012-04-25 08:20:49+00:00)
Title: Remove some warnings

Checked again for warnings and found some.
All warnings are fixed, although I'm not super happy with the changes.