diff --git a/app/controllers/admin/universal_tables_controller.rb b/app/controllers/admin/universal_tables_controller.rb index 1c0138a..d270b2e 100644 --- a/app/controllers/admin/universal_tables_controller.rb +++ b/app/controllers/admin/universal_tables_controller.rb @@ -41,7 +41,7 @@ class Admin::UniversalTablesController < OrbitAdminController sheet = workbook[0] if sheet.count <= 503 columns = sheet[1].cells.collect{|c| - table.table_columns.where(:key => c.value).first rescue nil + table.table_columns.where(:key => c.value.to_s).first rescue nil } languages = sheet[2].cells.collect{|c| c.value.split("-").last rescue nil