Sha256: a5693dd1c4a121c3bb5c448b4e30da51e844842564264dc5b74daf3945fbffca

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

module Snapuser
  class Engine < ::Rails::Engine

    initializer "Snapuser.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
snapuser-0.2.0 lib/snapuser/engine.rb
snapuser-0.1.1 lib/snapuser/engine.rb