<commit_before>class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  # rescue_from :abort, with: :user_not_valid
  # around_action :handle_throws

  private 

  def user_not_valid
    p "ENTRAAAAAA"
    @user = User.find_by_username(params[:user])
    redirect_to "/#{@user.username}"
  end

  def handle_throws
    catch :user_not_valid do
      p "LLEGAAAA"
    end
  end
end<commit_msg>I shouldn't have pushed these changes<commit_after>class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

end
{'fraction_non_alphanumeric': 0.07772020725388601, 'fraction_numerical': 0.0, 'mean_word_length': 4.742574257425742, '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': '1071054', 'n_tokens_mistral': 184, 'n_tokens_neox': 179, 'n_words': 43}