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

Update guide documentation for form_helpers.md section 1 [ci-skip] #45186

Merged
merged 1 commit into from May 26, 2022
Merged

Update guide documentation for form_helpers.md section 1 [ci-skip] #45186

merged 1 commit into from May 26, 2022

Conversation

cjilbert504
Copy link
Contributor

Summary

The edits in section 1.2.1 of this guide are being proposed as the value argument passed to check_box is not in the second position, it is the third argument as shown here and in turn the language around the argument list for radio_button in section 1.2.2 needed to be altered as well.

@rails-bot rails-bot bot added the docs label May 26, 2022
Copy link
Member

@jonathanhefner jonathanhefner left a comment

Choose a reason for hiding this comment

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

Good catch! 👍

guides/source/form_helpers.md Outdated Show resolved Hide resolved
guides/source/form_helpers.md Outdated Show resolved Hide resolved
@jonathanhefner jonathanhefner changed the title Update guide documentation for form_helpers.md section 1 Update guide documentation for form_helpers.md section 1 [ci-skip] May 26, 2022
@jonathanhefner
Copy link
Member

@cjilbert504 Looks good! Would you mind also squashing the commits? 🙏 Then I'll give this a merge!

The edits in section 1.2.1 of this guide are being proposed as the value argument passed to `check_box` is not in the second position, it is the third argument as shown [here](https://api.rubyonrails.org/v7.0.3/classes/ActionView/Helpers/FormBuilder.html#method-i-check_box) and in turn the language around the argument list for `radio_button` in section 1.2.2 needed to be altered as well.
Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
@cjilbert504
Copy link
Contributor Author

@jonathanhefner - Done! Thank you so much!

@jonathanhefner jonathanhefner merged commit d0bc58a into rails:main May 26, 2022
@jonathanhefner
Copy link
Member

jonathanhefner commented May 26, 2022

Thank you, @cjilbert504! ❤️

By the way, I see you are in Covington. Neat! 😃 👋

(Backported to 7-0-stable.)

@cjilbert504
Copy link
Contributor Author

@jonathanhefner - I am! I see you're out there in Lafayette. We will have to meet up sometime. I go through there every now and then. 😎

@cjilbert504 cjilbert504 deleted the patch-2 branch May 26, 2022 23:34
jonathanhefner added a commit to jonathanhefner/rails that referenced this pull request Jun 22, 2022
Update guide documentation for form_helpers.md section 1 [ci-skip]

(cherry picked from commit d0bc58a)
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