<commit_before>class Header < ActiveRecord::Base
  
  has_attachment :content_type => :image, :storage => :file_system, :max_size => 50.kilobytes
  validates_as_attachment
  validates_uniqueness_of :filename

  def full_filename(thumbnail = nil)
    file_system_path = (thumbnail ? thumbnail_class : self).attachment_options[:path_prefix].to_s
    File.join(RAILS_ROOT, file_system_path, thumbnail_name_for(thumbnail))
  end

end<commit_msg>still trying to get uploads working (x5)<commit_after>class Header < ActiveRecord::Base
  
  has_attachment :content_type => :image, :storage => :file_system, :max_size => 50.kilobytes
  validates_as_attachment
  validates_uniqueness_of :filename

end
{'fraction_non_alphanumeric': 0.09248554913294797, 'fraction_numerical': 0.0072254335260115606, 'mean_word_length': 6.372340425531915, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1416255', 'n_tokens_mistral': 232, 'n_tokens_neox': 224, 'n_words': 44}