-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow nil on size and inclusion validations. (#299)
* Allow nil on size and inclusion validations. * Update spec/validations_spec.cr Co-Authored-By: Paul Smith <[email protected]> * Update spec/validations_spec.cr Co-Authored-By: Paul Smith <[email protected]> * Add a nil-specific overload for validate_inclusion_of. * Better method description for validate_inclusion_of with nil. * Allow nil on validate_inclusion_of. Co-authored-by: Paul Smith <[email protected]>
- Loading branch information
1 parent
4c08977
commit 7927e16
Showing
2 changed files
with
62 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters