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

Fix to_hash called on errors raises an error #168

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

skryukov
Copy link
Contributor

Fixes #166 and adds a deprecation warning to prepare for requiring hashes in a future major update.

@@ -54,11 +63,14 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
# Use the latest version of RubyGems with Ruby 3.0 to avoid:
# https://bugs.ruby-lang.org/issues/19371
rubygems: ${{ startsWith(matrix.ruby-version, '3.0') && 'latest' || 'default' }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

i thought i was going crazy for a second because I was sure I'd already merged something like this in... but that was in #162 that targeted the v2 branch 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup yup I decided it's good to have it in master as well 😄

Copy link
Collaborator

Choose a reason for hiding this comment

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

yea i forgot that you added Ruby 3.0 CI support as part of V2! definitely worth supporting that in master

@bknoles bknoles merged commit 65ba636 into inertiajs:master Nov 28, 2024
55 checks passed
@skryukov skryukov deleted the fix-to-hash branch November 28, 2024 16:41
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.

[BUG] NoMethodError for Plain String inside inertia error props in redirects
2 participants