Fix errant use of symbol vs. string
[arvados.git] / apps / workbench / app / models / arvados_base.rb
index f9f4e1c66a78a6e2c60a222f8bd3ba826be9a6c2..1cf0d1fe840458a3ba3f805917e71b49154c0bac 100644 (file)
@@ -138,7 +138,7 @@ class ArvadosBase < ActiveRecord::Base
     # attributes can be modified during "save" -- we should update our copies
     resp.keys.each do |attr|
       if self.respond_to? "#{attr}=".to_sym
-        self.send(attr + '=', resp[attr.to_sym])
+        self.send(attr.to_s + '=', resp[attr.to_sym])
       end
     end