Sha256: 96e8a02f3d35d12a6ab24439443540fc5dc2e6150a6b1555e6396b79ecb4a53f

Contents?: true

Size: 384 Bytes

Versions: 22

Compression:

Stored size: 384 Bytes

Contents

module ThecoreUiCommons
  class Engine < ::Rails::Engine
    initializer 'thecore_ui_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

22 entries across 22 versions & 1 rubygems

Version Path
thecore_ui_commons-2.3.0 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.2.9 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.2.8 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.2.7 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.2.6 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.2.5 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.2.4 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.2.3 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.2.1 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.2.0 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.14 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.13 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.12 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.11 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.10 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.9 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.7 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.6 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.5 lib/thecore_ui_commons/engine.rb
thecore_ui_commons-2.1.4 lib/thecore_ui_commons/engine.rb