<commit_before>class Template < ActiveRecord::Base
  belongs_to :account
  belongs_to :design
  
  def code=(template_liquid_code)  
    parsed_template = Marshal.dump( Liquid::Template.parse(template_liquid_code) )
    self.parsed_code = parsed_template
    self.code=code 
  end
  
  def parsed_code
    @parsed_code ||= Marshal.load( self.read_attribute('parsed_code') )
  end
  
end<commit_msg>Let's not talk about this commit.<commit_after>class Template < ActiveRecord::Base
  belongs_to :account
  belongs_to :design
  
  def code=(template_liquid_code)  
    parsed_template = Marshal.dump( Liquid::Template.parse(template_liquid_code) )
    self.parsed_code = parsed_template
    self.code=template_liquid_code 
  end
  
  def parsed_code
    @parsed_code ||= Marshal.load( self.read_attribute('parsed_code') )
  end
  
end
{'fraction_non_alphanumeric': 0.0889423076923077, 'fraction_numerical': 0.0, 'mean_word_length': 4.374193548387097, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3789730', 'n_tokens_mistral': 278, 'n_tokens_neox': 272, 'n_words': 50}