1
0

Finished Ingredient#create validations

This commit is contained in:
cryptogopher
2019-09-15 18:53:00 +02:00
parent 0dcb13a065
commit 893e2646d0
4 changed files with 23 additions and 9 deletions

View File

@@ -12,6 +12,10 @@ en:
activerecord:
errors:
models:
ingredient:
attributes:
nutrients:
duplicated_quantity: 'you can define each quantity only once per ingredient'
quantity:
attributes:
parent: