<commit_before>class ReviewsController < ApplicationController
	def new
		@review = Review.new
		@company = Company.find(params[:company_id])
	end

	def create		
		@company = Company.find(params[:company_id])
		@review = @company.reviews.new (review_params)
		@review.reviewer = current_user	
		binding.pry
		if @review.save
			redirect_to @company
		else
			redirect_back(fallback_location: root_path)
		end
	end

private

	def review_params
		params.require(:review).permit(:body , :culture_rating, :diversity_rating, :inclusion_rating , :anonymous , :company_id , :reviewer_id )
	end

end
<commit_msg>remove binding bry from the reviwe controller<commit_after>class ReviewsController < ApplicationController
	def new
		@review = Review.new
		@company = Company.find(params[:company_id])
	end

	def create		
		@company = Company.find(params[:company_id])
		@review = @company.reviews.new (review_params)
		@review.reviewer = current_user	
		if @review.save
			redirect_to @company
		else
			redirect_back(fallback_location: root_path)
		end
	end

private

	def review_params
		params.require(:review).permit(:body , :culture_rating, :diversity_rating, :inclusion_rating , :anonymous , :company_id , :reviewer_id )
	end

end

{'fraction_non_alphanumeric': 0.09706362153344208, 'fraction_numerical': 0.0, 'mean_word_length': 4.985365853658537, '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': '5883895', 'n_tokens_mistral': 437, 'n_tokens_neox': 399, 'n_words': 87}