mongoid is not yet compatible with Rails >= 4