<commit_before>module OpenFlashChart
  class Railtie < ::Rails::Railtie
    initializer 'open_flash_chart' do |_app|
      ActiveSupport.on_load(:active_record) do
        ::ActiveRecord::Base.send :include, ::OpenFlashChart::View
        ::ActiveRecord::Base.send :include, ::OpenFlashChart::Controller
        ::ActiveRecord::Base.send :include, ::OpenFlashChart
      end
      ActiveSupport.on_load(:action_view) do
        ::ActionView::Base.send :include, ::OpenFlashChart::View
        ::OpenFlashChart::Base.send :include, ::OpenFlashChart::View
        if defined?(::ActionController::Base)
          ::ActionController::Base.send :include, ::OpenFlashChart::Controller
          ::ActionController::Base.send :include, ::OpenFlashChart
        end
      end
    end
  end<commit_msg>Changed initializer<commit_after>module OpenFlashChart
  class Railtie < ::Rails::Railtie
    initializer 'open_flash_chart' do |_app|
#      ActiveSupport.on_load(:active_record) do
#        ::ActiveRecord::Base.send :include, ::OpenFlashChart::View
#        ::ActiveRecord::Base.send :include, ::OpenFlashChart::Controller
#        ::ActiveRecord::Base.send :include, ::OpenFlashChart
#      end
      ActiveSupport.on_load(:action_view) do
        ::ActionView::Base.send :include, ::OpenFlashChart::View
        ::OpenFlashChart::Base.send :include, ::OpenFlashChart::View
        if defined?(::ActionController::Base)
          ::ActionController::Base.send :include, ::OpenFlashChart::Controller
          ::ActionController::Base.send :include, ::OpenFlashChart
        end
      end
    end
  end
{'fraction_non_alphanumeric': 0.12836568566061365, 'fraction_numerical': 0.0, 'mean_word_length': 3.901840490797546, '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': '5085453', 'n_tokens_mistral': 466, 'n_tokens_neox': 443, 'n_words': 82}