<commit_before>class RailsOps::ModelMixins::VirtualAttributes::VirtualColumnWrapper
  def initialize(virtual_column)
    @virtual_column = virtual_column
  end

  def type
    @virtual_column.instance_variable_get(:@type_caster).instance_variable_get(:@type)
  end
end<commit_msg>Fix bug in rails 7 with partial_updates<commit_after>class RailsOps::ModelMixins::VirtualAttributes::VirtualColumnWrapper
  def initialize(virtual_column)
    @virtual_column = virtual_column
  end

  def type
    @virtual_column.instance_variable_get(:@type_caster).instance_variable_get(:@type)
  end

  def default_function
    nil
  end
end
{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.0016025641025641025, 'mean_word_length': 6.621951219512195, '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': '5453108', 'n_tokens_mistral': 191, 'n_tokens_neox': 181, 'n_words': 33}