Skip to content

Installation fails in Rails 5 due to new migration rules - easy fix #23

@katiekeel

Description

@katiekeel

Hi, thanks for the awesome gem! I just installed it on an existing Rails 5 app and, following the instructions in the README, the installation fails when attempting to run the new migrations:

domp_fail

I was able to easily fix them and run the migrations simply by appending my Rails version in brackets to the end of the migration class name, as pictured here:

new_domp_migration

I then continued the migration with rails db:migrate, which ran successfully, and continued adding the code that the tutorial indicated should be there at the end of setup but wasn't.

Happy to work on a pull request if this gem is still actively worked on and this might be a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions