<commit_before>class SessionsController < ApplicationController
  skip_before_action :require_login, :create

  def create
    auth = env["omniauth.auth"]
    user = User.find_or_initialize_by(
      provider: auth[:provider],
      uid: auth[:uid],
    )
    user.assign_attributes(
      name: auth[:info][:name],
      email: auth[:info][:email],<commit_msg>add only: option to skip_before_action in sessions_controller<commit_after>class SessionsController < ApplicationController
  skip_before_action :require_login, only: :create

  def create
    auth = env["omniauth.auth"]
    user = User.find_or_initialize_by(
      provider: auth[:provider],
      uid: auth[:uid],
    )
    user.assign_attributes(
      name: auth[:info][:name],
      email: auth[:info][:email],
{'fraction_non_alphanumeric': 0.11855670103092783, 'fraction_numerical': 0.0, 'mean_word_length': 4.1118421052631575, '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': '3614708', 'n_tokens_mistral': 234, 'n_tokens_neox': 227, 'n_words': 48}