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 typo in actionview error message in to_form_params helper method #28450

Merged

Conversation

adamgamble
Copy link
Contributor

When creating a button without sanitized request params you would previously get this error message:

ArgumentError: Attempting to generate a buttom from non-sanitized request parameters! Whitelist and sanitize passed parameters to be secure.

now you get this message:

ArgumentError: Attempting to generate a button from non-sanitized request parameters! Whitelist and sanitize passed parameters to be secure.

@@ -1,3 +1,6 @@
* Fix a typo in error message for to_form_params helper method
*Adam Gamble*
Copy link
Member

Choose a reason for hiding this comment

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

This does not need a changelog, please remove this change.

@adamgamble adamgamble force-pushed the bug_fix/fix_typo_in_actionview branch from a54c7f6 to 0a5dacc Compare March 17, 2017 07:03
@adamgamble adamgamble force-pushed the bug_fix/fix_typo_in_actionview branch from 0a5dacc to 328ae33 Compare March 17, 2017 07:04
@adamgamble
Copy link
Contributor Author

@vipulnsward I have removed the changelog change

@adamgamble
Copy link
Contributor Author

@maclover7 @vipulnsward is there anything else you need from me?

@rafaelfranca rafaelfranca merged commit ad37b79 into rails:master Mar 21, 2017
rafaelfranca added a commit that referenced this pull request Mar 21, 2017
Fix typo in actionview error message in to_form_params helper method
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.

4 participants