<commit_before>class Uniqlink < ActiveRecord::Base
	before_save :default_values
	  def default_values
	    self.inscription ||= false
	  end

	def generate_token
		self.token = loop do
			random_token = SecureRandom.urlsafe_base64(nil, false)
			break random_token unless Uniqlink.exists?(token: random_token)
		end<commit_msg>fix uniqlink creation<commit_after>class Uniqlink < ActiveRecord::Base
	before_save :default_values
	def default_values
		self.inscription ||= false
		true
	end

	def generate_token
		self.token = loop do
			random_token = SecureRandom.urlsafe_base64(nil, false)
			break random_token unless Uniqlink.exists?(token: random_token)
		end
{'fraction_non_alphanumeric': 0.06948640483383686, 'fraction_numerical': 0.006042296072507553, 'mean_word_length': 5.08256880733945, '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': '1034265', 'n_tokens_mistral': 229, 'n_tokens_neox': 209, 'n_words': 50}