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

Remove unnecessary whitespace stripping from manual addresses #348

Merged
merged 2 commits into from
Jan 4, 2019

Conversation

irisfaraway
Copy link
Member

Manual address forms had an additional strip! in their submit method to remove whitespace, which caused an error once strings were frozen. However, the CanStripWhitespace concern is called after this in the base form, making this pointless.

Manual address forms had an additional `strip!` in their submit method to remove whitespace, which caused an error once strings were frozen. However, the CanStripWhitespace concern is called after this in the base form, making this pointless.
@irisfaraway irisfaraway added the housekeeping Changes such as refactoring label Jan 3, 2019
@irisfaraway irisfaraway self-assigned this Jan 3, 2019
@irisfaraway irisfaraway merged commit cbd650c into master Jan 4, 2019
@irisfaraway irisfaraway deleted the fix/address-whitespace branch January 4, 2019 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Changes such as refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants