Skip to content
  • Matthew Draper's avatar
    ec8aa47b
    Make sure to persist a newly-nil serialized value · ec8aa47b
    Matthew Draper authored
    The subtype will (quite reasonably) ignore the possibility that it has
    `changed_in_place?` by becoming nil.
    
    Fixes #19467
    
    Conflicts:
    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/type/serialized.rb
    	activerecord/test/cases/serialized_attribute_test.rb
    ec8aa47b
    Make sure to persist a newly-nil serialized value
    Matthew Draper authored
    The subtype will (quite reasonably) ignore the possibility that it has
    `changed_in_place?` by becoming nil.
    
    Fixes #19467
    
    Conflicts:
    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/type/serialized.rb
    	activerecord/test/cases/serialized_attribute_test.rb
Loading