michaeldv/awesome_print — pull request #100 by sdhull (2012-08-21 05:10:02+00:00)
Title: Update lib/awesome_print/ext/mongoid.rb

Latest versions of Mongoid doesn't require BSON.

I guess it'd be good to check if the class is defined before using it. At some point you may wish to remove this condition altogether (once you're no longer concerned with supporting older versions of Mongoid).