Skip to content

Commit

Permalink
CHANGED: Resolve ActiveRecord migratioon issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tarellel committed Aug 15, 2024
1 parent 148ee31 commit 3936b9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/orm/active_record.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)

migrations_path = File.expand_path("../../dummy/db/migrate/", __FILE__)
migrations_path = File.expand_path('../dummy/db/migrate', __dir__)

ActiveRecord::MigrationContext.new(migrations_path, ActiveRecord::SchemaMigration).migrate
ActiveRecord::MigrationContext.new(migrations_path).migrate

0 comments on commit 3936b9b

Please sign in to comment.