[ARVADOS] updated: 1.1.4-246-gbe158e5

Git user git at public.curoverse.com
Wed May 16 09:24:51 EDT 2018


Summary of changes:
 apps/workbench/app/models/arvados_base.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  be158e5fb7483bd004900bb34863b8f01e5a65a8 (commit)
      from  e7ea03c241257861568c53e9890bf40810bf8c5f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit be158e5fb7483bd004900bb34863b8f01e5a65a8
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Wed May 16 10:24:12 2018 -0300

    12737: Send serialized attributes when save()
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/apps/workbench/app/models/arvados_base.rb b/apps/workbench/app/models/arvados_base.rb
index e68cc89..73830a4 100644
--- a/apps/workbench/app/models/arvados_base.rb
+++ b/apps/workbench/app/models/arvados_base.rb
@@ -207,7 +207,7 @@ class ArvadosBase < ActiveRecord::Base
       # old value in the update/create command) or has been added to
       # #changed by ActiveRecord's #attr= method.
       if changed.include? col.name or
-          (self.class.serialized_attributes.include? col.name and
+          ([Hash, Array].include?(attributes[col.name].class) and
            @loaded_attributes[col.name])
         obdata[col.name.to_sym] = self.send col.name
       end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list