I have a hasAndBelongsToMany association between two tables(Recipes and Ingredients) in a CakePHP joined with a linking table(ingredients_recipes).
My ingredients_recipes table has an amount colum in order to save the value of the ingredient for the recipe but i dont know how or where create a validation rule for allow only numbers in that colum.
I already look here and in the documentation but i cant found nothing.
If you need more information please let me know
Thnks