is it logical that when I don't pass attributes' values, they failed the validation of the custom validation method, even though I am not trying to update them, however, the value is valid, and it was created successfully at the first place.
Parameters: {"utf8"=>"✓", "id"=>"2", "shop"=>{"allowed_users"=>"5"}, "commit"=>"עדכן"}
The validation fails only for the custom validation method, for :shop_customer_id.
Aucun commentaire:
Enregistrer un commentaire