<commit_before>module Cambium
  class Document < ActiveRecord::Base

    # ------------------------------------------ Plugins

    include PgSearch

    multisearchable :against => [:title]
    has_paper_trail

    dragonfly_accessor :upload

    # ------------------------------------------ Scopes<commit_msg>fix for removing dragonfly from gemfile<commit_after>module Cambium
  class Document < ActiveRecord::Base

    extend Dragonfly::Model

    # ------------------------------------------ Plugins

    include PgSearch

    multisearchable :against => [:title]
    has_paper_trail

    dragonfly_accessor :upload

    # ------------------------------------------ Scopes
{'fraction_non_alphanumeric': 0.2962962962962963, 'fraction_numerical': 0.0, 'mean_word_length': 1.3886925795053005, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '751782', 'n_tokens_mistral': 164, 'n_tokens_neox': 152, 'n_words': 36}