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

Upgrade to Rails 8 #2816

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Upgrade to Rails 8 #2816

wants to merge 7 commits into from

Conversation

jrochkind
Copy link
Contributor

@jrochkind jrochkind commented Dec 12, 2024

  • rails 8, with updated samvera dependencies that support rails 8
  • Rails8 was pickier about that bad formatted date, we want to set it to nil, we should say that
  • patch devise for Rails 8
  • update to Rails 8.0 framework defaults
  • Remove require that is no longer required in Rails 8 to patch IRB how we like

upstream merged but unreleased devise patch to work with Rails 8: heartcombo/devise#5728

… we like

It resulted in deprecation warning:

```
DEPRECATION WARNING: `rails/console/methods` has been deprecated and will be removed in Rails 8.1.
Please directly use IRB's extension API to add new commands or helpers to the console.
For more details, please visit: https://github.com/ruby/irb/blob/master/EXTEND_IRB.md
```

But we didn't need the require at all in Rails 8 to patch what we wanted to patch -- not sure if extension API would let us or be appropriate to patch what we want, but this seems to be working.
@jrochkind
Copy link
Contributor Author

This looks like a small PR, but it's because of lots of work finding problems and separating solutions into previous PR's that already went in, that would work in both Rails 7 and 8.

@jrochkind
Copy link
Contributor Author

Note a patch to Devise to make it work with Rails 8 before they release a version with the fix!

@jrochkind
Copy link
Contributor Author

@eddierubeiz I'm not going to merge until after the new year, but avail for review whenever!

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.

1 participant