<commit_before>module Imagine
  case Imagine.orm.to_sym
  when :active_record
    class Image < ActiveRecord::Base
      include Imagine::ModelExtensions::Image
      set_table_name :imagine_images
    end
  when :mongoid
    class Image
      include Mongoid::Document
      include Mongoid::Timestamps
      include Imagine::ModelExtensions::Image
      store_in :imagine_images
      field :file_name, :type => String
      field :file_uid,  :type => String
      field :album_id,  :type => String
    end
  else
    raise Imagine::OrmNotSupportedError.new("#{Imagine.orm}, though we do accept nice pull requests :)")
  end
end<commit_msg>[Image] in mongoid does not need album_id field<commit_after>module Imagine
  case Imagine.orm.to_sym
  when :active_record
    class Image < ActiveRecord::Base
      include Imagine::ModelExtensions::Image
      set_table_name :imagine_images
    end
  when :mongoid
    class Image
      include Mongoid::Document
      include Mongoid::Timestamps
      include Imagine::ModelExtensions::Image
      store_in :imagine_images
      field :file_name, :type => String
      field :file_uid,  :type => String
    end
  else
    raise Imagine::OrmNotSupportedError.new("#{Imagine.orm}, though we do accept nice pull requests :)")
  end
end
{'fraction_non_alphanumeric': 0.08059467918622848, 'fraction_numerical': 0.0, 'mean_word_length': 3.472027972027972, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '7219066', 'n_tokens_mistral': 364, 'n_tokens_neox': 360, 'n_words': 104}