ardent
ardent copied to clipboard
updateUniques and beforeValidate
It seems that updateUniques creates validation rules before beforeValidate has the chance to modify the static rules.
If I use the classic save, my custom rules are added to the rules defined as a model static attribute.