<commit_before>class ArtsController < ApplicationController
  def new
    @art = Art.new
  end

  def show
    @art = Art.find(params[:id])
  end

  def create
    @art = Art.new(art_params)
    if @art.save
      respond_to { |format| format.html { redirect_to @art } }
    else
      flash[:notice] = "You must fill out all of the required fields"
      render :new
    end
  end

  private

  def art_params
    params.require(:art).permit(
    :name, :location,
    :description,
    :category,
    :artist
    )
  end
end
<commit_msg>Fixed additional spacing issues<commit_after>class ArtsController < ApplicationController
  def new
    @art = Art.new
  end

  def show
    @art = Art.find(params[:id])
  end

  def create
    @art = Art.new(art_params)
    if @art.save
      respond_to { |format| format.html { redirect_to @art } }
    else
      flash[:notice] = "You must fill out all of the required fields"
      render :new
    end
  end

  private

  def art_params
    params.require(:art).permit(
      :name,
      :location,
      :description,
      :category,
      :artist
    )
  end
end

{'fraction_non_alphanumeric': 0.09549549549549549, 'fraction_numerical': 0.0, 'mean_word_length': 2.3871951219512195, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7371370', 'n_tokens_mistral': 369, 'n_tokens_neox': 359, 'n_words': 103}