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

Add #18323 to 5.0 release notes #24657

Merged
merged 1 commit into from
Apr 21, 2016
Merged

Conversation

maclover7
Copy link
Contributor

Fixes #23643 -- should we add a link to this issue for future reference?

[ci skip]

@@ -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))
Copy link
Member

Choose a reason for hiding this comment

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

alignment is off here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What's off about the alignment here? MacVim seems to be trying to imitate the alignment of the file, and appears to render ok on GitHub, as well:
screen shot 2016-04-20 at 4 32 57 pm

Copy link
Contributor

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?

Copy link
Member

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))
Copy link
Contributor

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. :trollface:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lolol fixed 🙈 🙉

Copy link
Contributor

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.

@rafaelfranca rafaelfranca merged commit aa74019 into rails:master Apr 21, 2016
@maclover7 maclover7 deleted the fix-23643-1 branch April 21, 2016 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants