Sha256: 38754e7b50731e207e6bd913d3914c818f66c8dbd1d95149ec63217fe28ca3b0

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

module ProviderTaxonomy
  class Engine < ::Rails::Engine
    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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
provider_taxonomy-0.1.2 lib/provider_taxonomy/engine.rb
provider_taxonomy-0.1.1 lib/provider_taxonomy/engine.rb
provider_taxonomy-0.1.0 lib/provider_taxonomy/engine.rb