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

pass through **kwargs in method missing #47

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

a-lavis
Copy link
Member

@a-lavis a-lavis commented Jan 8, 2024

What

This PR fixes a bug - we are not passing in **kwargs from method_missing down to the newly-defined method. This has likely gone unnoticed because Rails wasn't using any keyword arguments with any methods on this class - as of Rails 7.1, it is using keyword arguments (namely, returning:).

Why

This fix allows this CI step to pass for https://github.com/kickstarter/kickstarter/pull/25906

Screenshot 2024-01-08 at 11 00 33 AM

@a-lavis a-lavis marked this pull request as ready for review January 8, 2024 16:04
@a-lavis a-lavis requested a review from amancevice January 8, 2024 16:04
@a-lavis a-lavis merged commit 1f06c5f into main Jan 8, 2024
8 checks passed
@a-lavis a-lavis deleted the pass-kwargs-in-method-missing branch January 8, 2024 16:14
@a-lavis a-lavis mentioned this pull request Jan 8, 2024
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