Sha256: 4f45a95ce725c93a4877dc9c7310487c71c5c3cf740368ca50c70b47f707aeee

Contents?: true

Size: 737 Bytes

Versions: 1

Compression:

Stored size: 737 Bytes

Contents

module ModRelation
  class Engine < Rails::Engine
    isolate_namespace ModRelation

    # # https://github.com/rails/rails/issues/22261
    #     initializer :append_migrations do |app|
    #       config.paths['db/migrate'].expanded.each do |path|
    #         app.config.paths['db/migrate'] << path
    #         ActiveRecord::Migrator.migrations_paths << path
    #       end
    #     end

    # # https://github.com/rails/rails/issues/22261
    # module ActiveRecord
    # #module ActiveRecord::Current
    #   class Schema < Migration
    #     def migrations_paths
    #       (ActiveRecord::Migrator.migrations_paths +
    #        Rails.application.paths['db/migrate'].to_a).uniq
    #     end
    #   end
    # end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
relation-0.3.5 lib/relation/engine.rb