data-migrate: Rails 5.2.0.rc1 breaks data migrations

Just a heads up, not a fix (unfortunately): Migrations have been refactored to better support multiple databases which breaks all data migration tasks.

https://github.com/rails/rails/commit/a2827ec9811b5012e8e366011fd44c8eb53fc714

Result of running the data:migrate task:

NoMethodError: undefined method 'migrate' for DataMigrate::DataMigrator:Class
.../gems/data_migrate-3.4.0/tasks/databases.rake:249:in 'block (2 levels) in <main>'

rails: 5.2.0.rc1 data_migrate: 3.4.0

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 18 (9 by maintainers)

Most upvoted comments

@rubiii @yangtheman and whoever is out there, I’ve added Rails 5.2 support in #84. I haven’t released the code into rubygems yet. Can you give it a try in your applications? The branch that the code is on is called rails5.2

Thanks in advance!

ah, ok, will need to spend some time to figure this out. thanks for the heads up

Resolved! New version deployed to rubygems

@ilyakatz your fixes work for me