We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The lack of a numeric validation and the presence of validate_size_of causes confusion on how to validate numbers.
validate_size_of
At the very least it should have a min and max field.
min
max
Ex: validate_numeric inventory_count, min: 0, allow_nil: false
validate_numeric inventory_count, min: 0, allow_nil: false
Related: https://github.com/luckyframework/lucky/issues/1308
The text was updated successfully, but these errors were encountered:
matthewmcgarvey
Successfully merging a pull request may close this issue.
The lack of a numeric validation and the presence of
validate_size_of
causes confusion on how to validate numbers.At the very least it should have a
min
andmax
field.Ex:
validate_numeric inventory_count, min: 0, allow_nil: false
Related: https://github.com/luckyframework/lucky/issues/1308
The text was updated successfully, but these errors were encountered: