diff --git a/app/models/client.rb b/app/models/client.rb index 817083a39..856781b5d 100644 --- a/app/models/client.rb +++ b/app/models/client.rb @@ -499,6 +499,10 @@ def re3data=(value) write_attribute(:re3data_id, attr) end + def subjects=(value) + write_attribute(:subjects, Array.wrap(value)) + end + def opendoar=(value) attr = value.present? ? value[38..-1] : nil write_attribute(:opendoar_id, attr)