Do not let tables with a single column kill the dashboard

Closes #892.
1.0
Sandro Santilli 12 years ago
parent 57e5154a8d
commit e97d68ad20

@ -144,7 +144,7 @@
&#126;<%= pluralize(table.rows_estimated,'row','rows') rescue '' %> /
<%= table.schema.size rescue '' %> columns:
</strong>
<%= table.schema.map{ |e| e.first }[2...6].join(', ') %>...
<%= table.schema.map{ |e| e.first }[2...6].join(', ') rescue '' %>...
</p>
</span>
<span class="tags">
@ -313,4 +313,4 @@
</div>
</div>
<% end %>
<% end %>

Loading…
Cancel
Save