public function passes($action = null)
    {
        $this->data = $this->sanitize($this->data);

        $rules = $this->getRules($action);
        $validator = $this->validator->make($this->data, $rules);

        if ($validator->fails()) {
            $this->errors = $validator->messages();

            return false;
        }

        return true;
    }