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

Fixes #12547 - Added validators to interger fields #4191

Merged

Conversation

kgaikwad
Copy link
Member

With this commit, instead of postgresql exception it will
show proper validation message for interger fields.

With this commit, instead of postgresql exception it will
show proper validation message for interger fields.
@mention-bot
Copy link

@kgaikwad, thanks for your PR! By analyzing the history of the files in this pull request, we identified @domcleal, @tbrisker and @isratrade to be potential reviewers.

@dLobatog
Copy link
Member

Thanks @kgaikwad!

PS: For the record, I'm not asking for tests to display the validation error here as I see scoped_search already covers that quite a lot, so it's somewhat like testing Rails-provided validations

@dLobatog dLobatog merged commit 3ab0253 into theforeman:develop Jan 16, 2017
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