-
Notifications
You must be signed in to change notification settings - Fork 112
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
misc: Update rails to v7.2 #2894
Conversation
## Context Let's get ready for Rails 7.2 ## Description I was looking at [Ancor's PR](#2894) to upgrade to Rails 7.2 and I thought we could extracted the enum changes to a separate PR since the syntax is already available. Rails 7.2 will show a warning if we keep using the previous syntax (with a hash) and 8.0 will remove it entirely. https://blog.saeloun.com/2021/02/26/rails-introduces-new-syntax-for-enum/
8c881c8
to
ea6264c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I always found that the most annoying is merging/upgrading the configuration files. How confident are you we didn't change something unexpected?
86afabd
to
d29b16b
Compare
@julienbourdeau quite confident as I did a side by side diff on the files while doing the update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks, good 👍
I'm just not 100% convinced that we should bring back all comments in config files and especially commented options.
407f21e
to
0742ec3
Compare
It seems that all the modifications made in the 3 new migrations on |
keep YJIT disabled
Co-authored-by: Vincent Pochet <vincent@getlago.com>
50f83d2
to
d89d2cd
Compare
This reverts commit 779bf30.
Context
In order to update Rails to v8.0 first we update its version to the next and latest minor rails v7 version (v7.2.x)
Description
rails
is updated from7.1.2.4
to7.2.2
Impact
all tests now respect the
active_job.queue_adapter
config linkrails configuration files updated.
Ruby YJIT is disabled as we are not ready because of the usage of OpenStruct for service result responses.
APP is live in: https://rails72-app.staging.getlago.com/