Sha256: 98c6ac68682bd83eb20715188766dad6e1f8f515ddcf650a760e14b39d030bd6

Contents?: true

Size: 394 Bytes

Versions: 11

Compression:

Stored size: 394 Bytes

Contents

module ThecoreBackendCommons
  class Engine < ::Rails::Engine
    initializer 'thecore_backend_commons.add_to_migrations' do |app|
      unless app.root.to_s.match root.to_s
        # APPEND TO MAIN APP MIGRATIONS FROM THIS GEM
        config.paths['db/migrate'].expanded.each do |expanded_path|
          app.config.paths['db/migrate'] << expanded_path
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
thecore_backend_commons-2.3.2 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.3.1 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.3.0 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.2.8 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.2.7 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.2.6 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.2.5 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.2.4 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.2.3 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.2.2 lib/thecore_backend_commons/engine.rb
thecore_backend_commons-2.1.0 lib/thecore_backend_commons/engine.rb