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 7.2 #13

Merged
merged 9 commits into from
Jan 17, 2025
Merged

Upgrade to rails 7.2 #13

merged 9 commits into from
Jan 17, 2025

Conversation

rnestler
Copy link
Collaborator

@rnestler rnestler commented Jan 10, 2025

Ticket-22953


# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
config.force_ssl = false
config.force_ssl = true
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This should really be true. For local testing we can change the RAILS_ENV variable in the docker-compose.yml file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Tested locally with the RAILS_ENV change in the docker-compose.yml file.

@rnestler rnestler force-pushed the upgrade-to-rails-7.2 branch from 491e226 to 4d54c54 Compare January 10, 2025 16:24
# Enables YJIT as of Ruby 3.3, to bring sizeable performance improvements. If you are
# deploying to a memory constrained environment you may want to set this to `false`.
#++
# Rails.application.config.yjit = true
Copy link
Collaborator Author

@rnestler rnestler Jan 10, 2025

Choose a reason for hiding this comment

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

This may be something that we need to disable if we run into memory issues.

@rnestler rnestler force-pushed the upgrade-to-rails-7.2 branch from 4d54c54 to 7f6878b Compare January 10, 2025 16:34
@rnestler rnestler marked this pull request as ready for review January 10, 2025 16:43
@rnestler rnestler requested a review from edmunteanu January 13, 2025 16:24
@rnestler rnestler force-pushed the upgrade-to-rails-7.2 branch from f16595b to 8cffe7d Compare January 15, 2025 13:33
@rnestler
Copy link
Collaborator Author

rnestler commented Jan 15, 2025

Sudden CI failure (also on main) seems to be because of docker-library/ruby@7f078b1. It already got reverted in docker-library/ruby@6f84caa, but we may need to wait for it to be released.

Let's fix it now: #15

Copy link
Collaborator

@edmunteanu edmunteanu left a comment

Choose a reason for hiding this comment

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

Looks good! 👍🏼

@rnestler rnestler force-pushed the upgrade-to-rails-7.2 branch from 8cffe7d to 1022c69 Compare January 16, 2025 15:01
@rnestler rnestler merged commit 5bab9aa into main Jan 17, 2025
3 checks passed
@rnestler rnestler deleted the upgrade-to-rails-7.2 branch January 17, 2025 16:27
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