3 ms·
I am presuming that the application stores its state server side, if that is the case than this is not at all useless. Presumably you are sending the edited nam
by Kequc 12y ago
I am presuming that the application stores its state server side, if that is the case than this is not at all useless. Presumably you are sending the edited name to the server the server sends back the result of the edit. If the result of the edit was that the name was unavailable and therefore remains unchanged then this won't do anything:
gary.update.all jsonResult
Even if you aren't storing state server-side. In the update attr methods have name changing check the rest of your cats for an existing name.