changing mongoid.required() to mongoid_required