<commit_before>module ActiveRecord
  module Acts
    module Premoderatable
      
      def self.included(base)
        base.extend(ClassMethods)        
      end
      
      module ClassMethods
        def acts_as_premoderatable(options = {})
          self.class.state_column
          
          status_column = options[:status_column] || 'status'
          
          acts_as_state_machine :initial => :draft, :column => status_column          
                  
          attr_protected :deleted_at, :published_at, :status, :status_changed_at
<commit_msg>first commit wasn't good enought %)<commit_after>module ActiveRecord
  module Acts
    module Premoderatable
      
      def self.included(base)
        base.extend(ClassMethods)        
      end
      
      module ClassMethods
        def acts_as_premoderatable(options = {})          
          status_column = options[:status_column] || 'status'
          
          acts_as_state_machine :initial => :draft, :column => status_column          
                  
          attr_protected :deleted_at, :published_at, :status, :status_changed_at

{'fraction_non_alphanumeric': 0.07097933513027853, 'fraction_numerical': 0.0, 'mean_word_length': 1.9786096256684491, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '355363', 'n_tokens_mistral': 298, 'n_tokens_neox': 289, 'n_words': 60}