diff --git a/app/models/client.rb b/app/models/client.rb index a1c8cc264..d5d1ac0f0 100644 --- a/app/models/client.rb +++ b/app/models/client.rb @@ -501,6 +501,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)