Skip to content

Conversation

@bpurinton
Copy link
Contributor

While working on resurrecting the dev_toolbar gem, I happened across an issue for the (very popular with our beginners) show-stopper bug in the rails_db gem for Rails v7.1: igorkasyanchuk/rails_db#134

I opened a teeny, tiny PR to fix that Gem (igorkasyanchuk/rails_db#139; my first open-source Ruby / Rails contribution 🥳 )

There is not so much activity on that Gem page though, so as a workaround to allow /rails/db to function ASAP, we can just disable the default Rails 7.1 setting (in development only, shouldn't affect anything as we don't use callbacks much right now in the Phase 1 or 2 content?)

We can revert this commit when the rails_db Gem update is made (I'll make a note of it).

Copy link
Contributor

@jelaniwoods jelaniwoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like an acceptable work around for now since before actions aren't really used until devise.

@bpurinton bpurinton merged commit b483017 into main Jun 5, 2024
@bpurinton bpurinton deleted the bp-temporary-rails-db-fix branch June 5, 2024 21:02
bpurinton added a commit that referenced this pull request Jun 6, 2024
This commit reverts b483017 and bumps rails_db to version 2.4.3, which resolves a callback issue with Rails 7.1.

Resolves #42
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

Successfully merging this pull request may close these issues.

2 participants