Use each_slice
! Assuming you have an array of images:
- images.each_slice(2) do |image_column|
.column
#title
- image_column.each do |image|
.thumb
= link_to '', title: '' do
= image_tag image.path, alt: '', size: '196x196'
%span.caption
%p.title