<commit_before>class Railtie < Rails::Railtie
  initializer "image_zoomer.configuration" do |app|
    app.config.image_zoomer = ImageZoomer::Configuration.new
  end

  initializer "image_zoomer.initialize_zoom_image_helper" do |app|
    ActiveSupport.on_load(:action_view) do
      include ImageZoomer
    end
  end
end<commit_msg>fix setting change by clearing assets cache<commit_after>class Railtie < Rails::Railtie
  initializer "image_zoomer.configuration" do |app|
    app.config.image_zoomer = ImageZoomer::Configuration.new
    # Clear Cache
    FileUtils.rm_rf("#{Rails.application.root}/tmp/cache/assets") if Rails.env.development?
  end

  initializer "image_zoomer.initialize_zoom_image_helper" do |app|
    ActiveSupport.on_load(:action_view) do
      include ImageZoomer
    end
  end
end
{'fraction_non_alphanumeric': 0.08603491271820449, 'fraction_numerical': 0.0, 'mean_word_length': 4.776978417266187, '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': '4122230', 'n_tokens_mistral': 260, 'n_tokens_neox': 247, 'n_words': 52}