Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 6.1.6: "undefined method schema_dump_path #295

Open
nzifnab opened this issue Dec 14, 2023 · 1 comment
Open

Rails 6.1.6: "undefined method schema_dump_path #295

nzifnab opened this issue Dec 14, 2023 · 1 comment
Assignees

Comments

@nzifnab
Copy link

nzifnab commented Dec 14, 2023

I'm getting an error on rails 6.1 when I try to use rake db:schema:load:with_data with the error:

rake aborted!
NoMethodError: undefined method schema_dump_path' for primary:Module Did you mean? schema_up_to_date? /home/zifnab/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/data_migrate-9.2.0/lib/data_migrate/database_tasks.rb:84:in schema_sha1'
/home/zifnab/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/activerecord-6.1.6/lib/active_record/tasks/database_tasks.rb:334:in `load_schema'

It looks like that method isn't added to the rails module until rails 7, and causes this crash in rails 6. Any chance we can get a patch to fix this?

@MrKirat
Copy link

MrKirat commented Apr 18, 2024

HI @nzifnab !
I'm facing the same issue. Have you found any solution for this?
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants