<commit_before>module Sortable
  class Railtie < Rails::Railtie
    initializer 'sortable' do |app|
      ActiveSupport.on_load :active_record do
        include Sortable::ActiveRecord
      end
      
      ActiveSupport.on_load :action_controller do
        include Sortable::ActionController
        helper_method :sort_column, :sort_direction
      end
      
      # not sure if the action view stuff will work the same way, not see any examples
      # try ActionView::Base.send :include, Sortable::ActionView if it doesn't
      ActiveSupport.on_load :action_view do
        include Sortable::ViewHelpers::ActionView
      end
    end
  end
end<commit_msg>removing some comments that aren't necessary any more<commit_after>module Sortable
  class Railtie < Rails::Railtie
    initializer 'sortable' do |app|
      ActiveSupport.on_load :active_record do
        include Sortable::ActiveRecord
      end
      
      ActiveSupport.on_load :action_controller do
        include Sortable::ActionController
        helper_method :sort_column, :sort_direction
      end
      
      ActiveSupport.on_load :action_view do
        include Sortable::ViewHelpers::ActionView
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.055, 'fraction_numerical': 0.0, 'mean_word_length': 2.9248366013071894, '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': '886055', 'n_tokens_mistral': 330, 'n_tokens_neox': 321, 'n_words': 95}