<commit_before>module PaperTrailAssetAware

  extend ActiveSupport::Concern

  included do

    has_paper_trail except: [:created_at, :updated_at]

  end

  module ClassMethods

  end


  protected

  private

end<commit_msg>BMCDOT-618 dont create paper trail version on touch<commit_after>module PaperTrailAssetAware

  extend ActiveSupport::Concern

  included do

    has_paper_trail on: [:create, :destroy, :update] # not touch as this creates an empty object_changes row in versions

  end

  module ClassMethods

  end


  protected

  private

end
{'fraction_non_alphanumeric': 0.04693140794223827, 'fraction_numerical': 0.005415162454873646, 'mean_word_length': 4.045454545454546, 'pattern_counts': {'":': 0, '<': 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': '2358862', 'n_tokens_mistral': 183, 'n_tokens_neox': 160, 'n_words': 52}