<commit_before>module ApplicationHelper
  include AccountHelper
  include FontAwesomeHelper

  def datetime_ago date
    content_tag :date, nil, title: date.to_s(:long), "data-source": date.to_s(:rfc822)
  end
end<commit_msg>[Core] Implement global variables on application helper<commit_after>module ApplicationHelper
  include AccountHelper
  include FontAwesomeHelper

  def datetime_ago date
    content_tag :date, nil, title: date.to_s(:long), "data-source": date.to_s(:rfc822)
  end

  def resource_name
  	:user
  end

   def resource
    @resource ||= User.new
  end

  def devise_mapping
    @devise_mapping ||= Devise.mappings[:user]
  end
end
{'fraction_non_alphanumeric': 0.08575803981623277, 'fraction_numerical': 0.009188361408882083, 'mean_word_length': 4.5423728813559325, 'pattern_counts': {'":': 2, '<': 3, '<?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': '4419225', 'n_tokens_mistral': 217, 'n_tokens_neox': 206, 'n_words': 55}