FIX: symbols and strings should be treated similarly while saving custom fields

This commit is contained in:
fzngagan 2020-08-20 14:40:24 +05:30 committed by Robin Ward
parent 71e747b160
commit 352ad826c1
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ module HasCustomFields
def save_custom_fields(force = false)
if force || !custom_fields_clean?
dup = @custom_fields.dup
dup = @custom_fields.dup.with_indifferent_access
array_fields = {}
ActiveRecord::Base.transaction do