should be `if ($runValidation && !$this->validate($attributes) || !$this->beforeSave(true)) {`