Created
June 13, 2015 14:21
-
-
Save GesJeremie/7ec8010c5d24cad152c4 to your computer and use it in GitHub Desktop.
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
# Single error | |
Validator.error 'is_batman', 'The :attribute must be batman' | |
# Bunch of errors | |
Validator.errors | |
'is_batman': 'The :attribute must be batman' | |
'email': 'The :attribute must be a valid email' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment