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 rescue_from documentation in Action Cable Overview guide [ci skip] #38781

Merged

Conversation

rmacklin
Copy link
Contributor

Summary

This corrects a minor typo made in d2571e5 (#34917). The docs mentioned rescue_with, but the actual method name is rescue_from (with is one of its parameters), as seen in the examples just below these two sentences.

Other Information

I also noticed that we were linking to the rescue_from API docs in the second mention of rescue_from. I think it's conventional to link to an external reference the first time the subject is mentioned, so I moved this link accordingly.

This was a minor typo made in d2571e5.
The actual method name is `rescue_from` (`with` is one of its
parameters), as seen in the examples below these two sentences.

[ci skip]
in the Action Cable Overview guide

If we want to link to the `rescue_from` API docs, it makes more sense to
do it the first time we mention `rescue_from` rather than the second
time.

[ci skip]
@rails-bot rails-bot bot added the docs label Mar 21, 2020
@eugeneius eugeneius merged commit aeac447 into rails:master Mar 21, 2020
@eugeneius
Copy link
Member

Thanks ❤️

@rmacklin rmacklin deleted the fix-method-name-in-action-cable-guide branch March 21, 2020 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants