[ARVADOS] updated: 1.3.0-725-g1e803e86b

Git user git at public.curoverse.com
Mon May 6 18:35:29 UTC 2019


Summary of changes:
 apps/workbench/app/models/arvados_base.rb | 6 ++++++
 1 file changed, 6 insertions(+)

       via  1e803e86b1ba69b9770192a9cf1e66edb125cf1d (commit)
      from  1327c05c8cffafc9b18e3abf400d101dd8d03cf3 (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 1e803e86b1ba69b9770192a9cf1e66edb125cf1d
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Mon May 6 15:08:25 2019 -0300

    14988: Adds missing create!() method to ArvadosBase.
    
    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 f29147639..9925d4612 100644
--- a/apps/workbench/app/models/arvados_base.rb
+++ b/apps/workbench/app/models/arvados_base.rb
@@ -275,6 +275,12 @@ end
     x
   end
 
+  def self.create! raw_params={}, create_params={}
+    x = new(permit_attribute_params(raw_params), create_params)
+    x.save!
+    x
+  end
+
   def self.table_name
     self.name.underscore.pluralize.downcase
   end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list