Sha256: 82ccc76a27f443e40e63628ab7ff8db1bbab4342f949f33dc27a9fdeccad6886

Contents?: true

Size: 396 Bytes

Versions: 2

Compression:

Stored size: 396 Bytes

Contents

module RequestRefinery
  class Engine < ::Rails::Engine
    isolate_namespace RequestRefinery

    # to avoid the railties migration step
    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

2 entries across 2 versions & 1 rubygems

Version Path
request_refinery-0.0.2 lib/request_refinery/engine.rb
request_refinery-0.0.1 lib/request_refinery/engine.rb