[ARVADOS] updated: 1.1.4-247-g0c9c9ce
Git user
git at public.curoverse.com
Wed May 16 16:21:21 EDT 2018
Summary of changes:
apps/workbench/app/models/arvados_base.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 0c9c9cec5a2a6877c1090e7b721521eaca565922 (commit)
from be158e5fb7483bd004900bb34863b8f01e5a65a8 (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 0c9c9cec5a2a6877c1090e7b721521eaca565922
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date: Wed May 16 17:20:20 2018 -0300
12737: Assign empty default values on serialized attributes
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 73830a4..d7a65bd 100644
--- a/apps/workbench/app/models/arvados_base.rb
+++ b/apps/workbench/app/models/arvados_base.rb
@@ -76,7 +76,7 @@ class ArvadosBase < ActiveRecord::Base
@discovered_columns << column(k, coldef[:type])
else
# Hash, Array
- @discovered_columns << column(k, coldef[:type])
+ @discovered_columns << column(k, coldef[:type], coldef[:type].constantize.new)
serialize k, coldef[:type].constantize
end
define_method k do
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list