Skip to content

Trim string for PresenceValidator #4

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

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

pauldruziak
Copy link

Currently, a field with just spaces considered valid by Judge, but Rails has another opinion.

Currently, a field with just spaces considered valid by Judge, but Rails has another opinion.
@pauldruziak pauldruziak marked this pull request as ready for review June 14, 2021 13:10
@bdknox
Copy link

bdknox commented Jun 28, 2021

@pauldruziak Would this patch work for file fields that have the presence validation?

@pauldruziak
Copy link
Author

@bdknox yes

@treiff
Copy link
Member

treiff commented Jul 9, 2021

@pauldruziak going to merge this, can you open a PR against crm-web to reference the new ref? We can do the QA there.

@treiff treiff merged commit b3f2383 into starburstlabs:patch Jul 9, 2021
@pauldruziak
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants