Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't allow destroyed object mutation after
Currently `object.save` will unfreeze the object, due to `changes_applied` replaces frozen `@attributes` to new `@attributes`. Since originally destroyed objects are not allowed to be mutated, `save` and `save!` should not return success in that case. Fixes #28563.
- Loading branch information
Showing with 29 additions and 2 deletions.