```ruby
class ValidationsController < ApplicationController


  def create
    # raise params.permitted?
    @article = Article.find(params[:id])
    @article.add_validation(@article.id, current_user)

    if @article.save
      render :"/articles/show", {notice: 'You have validated this article!'}

    else
      flash[:notice]= current_user.article.errors.full_messages
      redirect_to articles_path #, {notice: 'You have already validated this article!'}
      # flash[:errors].full_messages
    end
  end

end
```

Patch getting error when updating form:
user
```ruby
class ValidationsController < ApplicationController


  def create
    # raise params.permitted?
    @article = Article.find(params[:id])
    @article.add_validation(@article.id, current_user)

    if @article.save
      render :"/articles/show", {notice: 'You have successfully validated this article!'}

    else
      flash[:error]= current_user.article.errors.full_messages
      redirect_to articles_path #, {notice: 'You have already validated this article!'}
      # flash[:errors].full_messages
    end
  end

end
```
assistant