<commit_before>module Refinery
  class InquiriesGenerator < Rails::Generators::Base
    def rake_db
      rake("refinery_inquiries:install:migrations")
    end

    def append_load_seed_data
      create_file 'db/seeds.rb' unless File.exists?(File.join(destination_root, 'db', 'seeds.rb'))
      append_file 'db/seeds.rb', :verbose => true do
        <<-EOH

# Added by RefineryCMS Inquiries engine
Refinery::Inquiries::Engine.load_seed
        EOH
      end
    end
  end
end<commit_msg>Install settings migrations too.<commit_after>module Refinery
  class InquiriesGenerator < Rails::Generators::Base
    def rake_db
      rake("refinery_inquiries:install:migrations")
      rake("refinery_settings:install:migrations")
    end

    def append_load_seed_data
      create_file 'db/seeds.rb' unless File.exists?(File.join(destination_root, 'db', 'seeds.rb'))
      append_file 'db/seeds.rb', :verbose => true do
        <<-EOH

# Added by RefineryCMS Inquiries engine
Refinery::Inquiries::Engine.load_seed
        EOH
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.10038240917782026, 'fraction_numerical': 0.0, 'mean_word_length': 3.6327433628318584, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '3952328', 'n_tokens_mistral': 351, 'n_tokens_neox': 341, 'n_words': 71}