-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Add #18323 to 5.0 release notes #24657
Conversation
@@ -227,6 +227,10 @@ Please refer to the [Changelog][action-pack] for detailed changes. | |||
`RedirectBackError`. | |||
([Pull Request](https://github.com/rails/rails/pull/22506)) | |||
|
|||
* `ActionDispatch::IntegrationTest` and | |||
`ActionController::TestCase` accept keyword arguments instead of | |||
positional arguments. ([Pull Request](https://github.com/rails/rails/pull/18323)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alignment is off here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accept
is putting it lightly. Positional args were deprecated in favor of kw args.
Perhaps we shouldn't mention ActionController::TestCase
because that's soft deprecated.
Another thing to think about: why force people to upgrade a dead end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alignment is off because positional
word is not aligned with ActionDispatch
. See the lines above
@@ -227,6 +227,9 @@ Please refer to the [Changelog][action-pack] for detailed changes. | |||
`RedirectBackError`. | |||
([Pull Request](https://github.com/rails/rails/pull/22506)) | |||
|
|||
* `ActionDispatch::IntegrationTest` and `ActionController::TestCase` deprecate positional arguments in favor of | |||
positional arguments. ([Pull Request](https://github.com/rails/rails/pull/18323)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm glad we deprecated positional arguments in favor of positional arguments. Positional arguments are much nicer to use than positional arguments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lolol fixed 🙈 🙉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My wife thinks I'm funny. That's all that matters.
Fixes rails#23643. [ci skip]
Fixes #23643 -- should we add a link to this issue for future reference?
[ci skip]