You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: articles_controller.rb
    path of file: ./repos/rails-ralix-tailwind/app/controllers
    
    the code of the file until where you have to start completion: class ArticlesController < ApplicationController
  before_action :authenticate_use
    
  def create
    @article = Article.new(article_params.merge(user: current_user))

    if @article.save
      redirect_to @article, notice: "Article was successfully created."
    else
      render :new, status: :unprocessable_entity
    end