Sha256: be971f8d5ec692ff2f285b1dc9f6a458387f4dd12706b9f3d11124a4fb3257a3

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

module Pinfirmable
  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
pinfirmable-0.1.2 lib/pinfirmable/engine.rb
pinfirmable-0.1.1 lib/pinfirmable/engine.rb
pinfirmable-0.1.0 lib/pinfirmable/engine.rb