mongoid/mongoid — pull request #1666 by rymai (2012-02-02 12:53:54+00:00)
Title: Ensure Mongoid.logger is not nil before calling warn on it.

Fix a `private method 'warn' called for nil:NilClass` issue.

Thanks!