applicake/doorkeeper — pull request #367 by danhawkins (2014-03-14 22:31:34+00:00)
Title: using defined? instead of explicit version to allow mongoid 4 to work

It's not much, but it made mongoid 4 work for me, it was this or mongoid3? || mongoid4? I felt this more future proof.