no procesar la fila el array está vacío

This commit is contained in:
f 2018-06-27 20:13:47 -03:00
parent c287ec649a
commit cc06bcc385
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -46,7 +46,7 @@
%table
%thead
%tr
- data.first.keys.each do |k|
- !data.empty? && data.first.keys.each do |k|
%th= k.humanize
%tbody
- data.each do |r|