Sha256: c5fb0f7feafd566929fad30b5eee4355943751eb7992638147c76465e1d95f5c

Contents?: true

Size: 662 Bytes

Versions: 6

Compression:

Stored size: 662 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

  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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
relation-0.3.4 lib/relation/engine.rb
relation-0.3.3 lib/relation/engine.rb
relation-0.3.2 lib/relation/engine.rb
relation-0.3.1 lib/relation/engine.rb
relation-0.3.0 lib/relation/engine.rb
relation-0.2.3 lib/relation/engine.rb