From: Peter Amstutz Date: Fri, 27 Jun 2014 12:45:50 +0000 (-0400) Subject: Fixed render_pipeline_component_attribute test if dataclass derives from ArvadosBase. X-Git-Tag: 1.1.0~2521^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/6980251b6acb935d84706133c5837f597c69ead8 Fixed render_pipeline_component_attribute test if dataclass derives from ArvadosBase. --- diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb index 26be2898a7..80eb16a1ce 100644 --- a/apps/workbench/app/helpers/application_helper.rb +++ b/apps/workbench/app/helpers/application_helper.rb @@ -306,7 +306,7 @@ module ApplicationHelper selectables = [] attrtext = attrvalue - if dataclass and dataclass.is_a? ArvadosBase + if dataclass.is_a? Class and dataclass < ArvadosBase objects = get_n_objects_of_class dataclass, 10 objects.each do |item| items << item