Skip to content

feat: target Rails 8.0 and require at least Ruby 3.2#601

Merged
G-Rath merged 24 commits intomainfrom
rails-8-stuff/support
Jul 25, 2025
Merged

feat: target Rails 8.0 and require at least Ruby 3.2#601
G-Rath merged 24 commits intomainfrom
rails-8-stuff/support

Conversation

@G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Mar 28, 2025

Closes #589
Resolves #588
Resolves #587
Closes #586
Closes #573
Resolves #570
Resolves #569

@G-Rath G-Rath force-pushed the rails-8-stuff/support branch 5 times, most recently from e9ac7c2 to 97f12fa Compare April 3, 2025 23:46
@G-Rath G-Rath force-pushed the rails-8-stuff/support branch 2 times, most recently from e2112a5 to bcbd98d Compare April 21, 2025 19:56
@G-Rath G-Rath force-pushed the rails-8-stuff/support branch from d416916 to eab43fa Compare June 13, 2025 03:14
@G-Rath G-Rath changed the title feat: use Rails 8.0 feat: require Rails 8.0 and min. Ruby 3.2 Jul 2, 2025
@G-Rath G-Rath changed the title feat: require Rails 8.0 and min. Ruby 3.2 feat: target Rails 8.0 and require at least Ruby 3.2 Jul 2, 2025
"ActiveSupport::Logger.new(STDOUT)",
"ActiveSupport::Logger.new($stdout)"

insert_into_file! "config/environments/production.rb",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note: removing this addresses #569

# You should never use this because it just blindly sets headers without any actual
# checks; instead, whatever is handling the SSL-termination should be setting the
# appropriate headers to indicate that the request was actually SSL-terminated.
config.assume_ssl = false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note: adding this addresses #588


RUBY
end
gsub_file! "config/environments/production.rb",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note: adding this addresses #587

@G-Rath G-Rath marked this pull request as ready for review July 2, 2025 21:36
@G-Rath G-Rath requested review from hmaddocks and removed request for brooke-m July 25, 2025 00:27
G-Rath and others added 22 commits July 25, 2025 15:37
Besides just reducing the size of the template a bit, this'll make it easier to later add helpful
debugging stuff
This reverts commit baa52c3.
@G-Rath G-Rath force-pushed the rails-8-stuff/support branch from 7706332 to da2378a Compare July 25, 2025 03:37
@G-Rath G-Rath merged commit 5c9062f into main Jul 25, 2025
22 checks passed
@G-Rath G-Rath deleted the rails-8-stuff/support branch July 25, 2025 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants