allowed the gem to be used in rails 4
allowed the gem to work with mongoid 4