Adding uniqueness validation support out of the box
This commit is contained in:
parent
b81d37fc02
commit
08390e6709
5 changed files with 144 additions and 2 deletions
5
lib/couchrest/model/validations/locale/en.yml
Normal file
5
lib/couchrest/model/validations/locale/en.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
en:
|
||||
errors:
|
||||
messages:
|
||||
taken: "is already taken"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue