Association injections overwrite existing defined validations
Injection uses underscore's extend, which overwrites any validation (or other attributes) previously defined in the model. The patch uses underscore's defaults command, which only overwrites the rawAttributes if the column is not already defined.
Showing
with
3 additions
and
3 deletions
-
Please register or sign in to post a comment