Skip to content

Replace Rails version control line#78

Merged
blocknotes merged 1 commit intomainfrom
update-files-controller
Mar 15, 2026
Merged

Replace Rails version control line#78
blocknotes merged 1 commit intomainfrom
update-files-controller

Conversation

@blocknotes
Copy link
Copy Markdown
Owner

Replace Gem::Version.new(Rails.version) >= Gem::Version.new("7.1") with Rails::VERSION::MAJOR/MINOR integer comparison. This avoids allocating two Gem::Version objects on every failed upload and is consistent with how the rest of the gem does version branching.

Replace Gem::Version.new(Rails.version) >= Gem::Version.new("7.1") with Rails::VERSION::MAJOR/MINOR integer comparison. This avoids allocating two Gem::Version objects on every failed upload and is consistent with how the rest of the gem does version branching.
@blocknotes blocknotes self-assigned this Mar 15, 2026
@blocknotes blocknotes marked this pull request as ready for review March 15, 2026 09:49
@blocknotes blocknotes merged commit 2c1f002 into main Mar 15, 2026
30 checks passed
@blocknotes blocknotes deleted the update-files-controller branch March 15, 2026 09:49
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