allowed the gem to work with mongoid 4