aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/ordered_options.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-01-15 04:30:37 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-01-15 04:52:01 +0900
commit562dd0494a90d9d47849f052e8913f0050f3e494 (patch)
tree786aa2778e1ba384669b7100e24e16f4af1fa4a9 /activesupport/lib/active_support/ordered_options.rb
parentf1af27fd9d9101684b26d0dcf2028859d67bec1f (diff)
downloadrails-562dd0494a90d9d47849f052e8913f0050f3e494.tar.gz
rails-562dd0494a90d9d47849f052e8913f0050f3e494.tar.bz2
rails-562dd0494a90d9d47849f052e8913f0050f3e494.zip
Don't allow destroyed object mutation after `save` or `save!` is called
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.
Diffstat (limited to 'activesupport/lib/active_support/ordered_options.rb')
0 files changed, 0 insertions, 0 deletions