applicake/doorkeeper — pull request #342 by arkxu (2014-01-17 03:21:52+00:00)
Title: working with mongoid4

to solve the problem : https://github.com/applicake/doorkeeper/pull/341

actually it is for mongoid4 which use the standalone BSON gem. More information can be found: https://github.com/mongoid/moped/issues/215

this change works fine with me, just need to place `orm :mongoid4` in the doorkeeper.rb