Module: EacRailsUtils::EngineHelper::ClassMethods

Defined in:
lib/eac_rails_utils/engine_helper.rb

Instance Method Summary collapse

Instance Method Details

#append_self_migrationsObject


12
13
14
15
16
17
18
# File 'lib/eac_rails_utils/engine_helper.rb', line 12

def append_self_migrations
  initializer :append_migrations do |app|
    config.paths['db/migrate'].expanded.each do |expanded_path|
      app.config.paths['db/migrate'] << expanded_path
    end
  end
end