<commit_before>module Gringotts
  class Engine < ::Rails::Engine
    isolate_namespace Gringotts
  end<commit_msg>keep migrations inside engine per pivotal labs article http://www.pivotallabs.com/leave-your-migrations-in-your-rails-engines/<commit_after>module Gringotts
  class Engine < ::Rails::Engine
    isolate_namespace Gringotts
    
    initializer :append_migrations do |app|
      unless app.root.to_s.match root.to_s
        config.paths["db/migrate"].expanded.each do |expanded_path|
          app.config.paths["db/migrate"] << expanded_path
        end
      end
    end
    
  end
{'fraction_non_alphanumeric': 0.09259259259259259, 'fraction_numerical': 0.0, 'mean_word_length': 3.375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '6165181', 'n_tokens_mistral': 193, 'n_tokens_neox': 189, 'n_words': 38}