<commit_before>class CallbacksController < Devise::OmniauthCallbacksController
  def google_oauth2
    @user = User.from_omniauth(request.env["omniauth.auth"])
    sign_in_and_redirect @user
  end
end<commit_msg>Added remember me to omniauth<commit_after>class CallbacksController < Devise::OmniauthCallbacksController
  def google_oauth2
    @user = User.from_omniauth(request.env["omniauth.auth"])
    remember_me(@user)
    sign_in_and_redirect @user
  end
end
{'fraction_non_alphanumeric': 0.08423326133909287, 'fraction_numerical': 0.004319654427645789, 'mean_word_length': 6.25, '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': '4110037', 'n_tokens_mistral': 153, 'n_tokens_neox': 148, 'n_words': 26}