<commit_before>class ApplicationController < ActionController::API
  include DeviseTokenAuth::Concerns::SetUserByToken
  include ActionController::ImplicitRender
  include ActionController::Serialization
  include Acl9::ControllerExtensions

  before_action :configure_permitted_parameters, if: :devise_controller?

  protect_from_forgery with: :null_session

  respond_to :json

  def configure_permitted_parameters
    devise_parameter_sanitizer.for(:sign_up) do |u|
      u.permit(:username, :club_id)
    end
    
    devise_parameter_sanitizer.for(:account_update) do |u|
       u.permit(:username, :club_id)
    end
  end
end
<commit_msg>fixed problems<commit_after>class ApplicationController < ActionController::API
  include DeviseTokenAuth::Concerns::SetUserByToken
  include ActionController::ImplicitRender
  include ActionController::Serialization
  include Acl9::ControllerExtensions

  before_action :configure_permitted_parameters, if: :devise_controller?

  respond_to :json

  def configure_permitted_parameters
    devise_parameter_sanitizer.for(:sign_up) do |u|
      u.permit(:username, :club_id)
    end

    devise_parameter_sanitizer.for(:account_update) do |u|
      u.permit(:username, :club_id)
    end
  end
end

{'fraction_non_alphanumeric': 0.07580645161290323, 'fraction_numerical': 0.0016129032258064516, 'mean_word_length': 5.708108108108108, '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': '3420705', 'n_tokens_mistral': 380, 'n_tokens_neox': 371, 'n_words': 70}