Vote count:
0
I find myself in this situation very often. Sometimes I just take for granted that the record will be saved correctly if I'm in a rush, but I feel as that not being a good practice. I see sometimes placing the if save condition. The question arises here: what are the situations where a record cannot be saved?
Thanks.
asked 29 secs ago
Rails: Should I throw exception if a item cannot be saved?
Aucun commentaire:
Enregistrer un commentaire