<commit_before>
class GoogleAccountsController < ApplicationController
  include SessionsHelper

  before_filter :require_session
  

  def new

    if !@current_user.has_google_account?
      
      # No account exists, create one
      google_account = GoogleAccount.new

      # Link Google Account to user
      @current_user.google_account = google_account
      @current_user.save()

      # Redirect to Google's OAuth page
      return redirect_to google_account.authorization_url
    end
    
    respond_to do |format|
      format.html { redirect_to settings_url, :flash => { :notice => t ('google_accounts.already_added') }}
    end

  end<commit_msg>having weird t(render raw text) error<commit_after>
class GoogleAccountsController < ApplicationController
  include SessionsHelper

  before_filter :require_session
  

  def new

    if !@current_user.has_google_account?
      
      # No account exists, create one
      google_account = GoogleAccount.new

      # Link Google Account to user
      @current_user.google_account = google_account
      @current_user.save()

      # Redirect to Google's OAuth page
      return redirect_to google_account.authorization_url
    end
    
    respond_to do |format|
      format.html { redirect_to settings_url, :flash => { :notice => I18n.t('google_accounts.already_added') }}
    end

  end
{'fraction_non_alphanumeric': 0.06582840236686391, 'fraction_numerical': 0.0014792899408284023, 'mean_word_length': 3.201863354037267, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2264369', 'n_tokens_mistral': 395, 'n_tokens_neox': 374, 'n_words': 99}