Skip to content

Instantly share code, notes, and snippets.

@jamie
Created September 3, 2014 16:51
Show Gist options
  • Save jamie/f2a528d77e70b7088956 to your computer and use it in GitHub Desktop.
Save jamie/f2a528d77e70b7088956 to your computer and use it in GitHub Desktop.
If HTML tables were organized by column...
%table
%tc
%th Filename
- @batches.each do |batch|
%td= batch.filename
%tc
%th Result
- @batches.each do |batch|
%td= batch.summary
%tc
%th Errors
- @batches.each do |batch|
%td= batch.errors.count
%tc
%th Uploaded on
- @batches.each do |batch|
%td= batch.created_at.strftime(:short)
%tc
%th State
- @batches.each do |batch|
%td= batch.state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment