has_destroy_flag?(hash)
Determines if a hash contains a truthy _destroy key.
# File activerecord/lib/active_record/nested_attributes.rb, line 380 def has_destroy_flag?(hash) ConnectionAdapters::Column.value_to_boolean(hash['_destroy']) end