diff --git a/controllers/home_controller.rb b/controllers/home_controller.rb index 459c6a4f..c2a67fb4 100644 --- a/controllers/home_controller.rb +++ b/controllers/home_controller.rb @@ -121,7 +121,7 @@ def metadata_all unique: cls.unique?(attribute) || " ", required: cls.required?(attribute) || " ", list: cls.list?(attribute) || " ", - cardinality: cls.cardinality(attribute) || " " + cardinality: (cls.cardinality(attribute) rescue nil) || " " } else attributes_info[attribute] = {