<% if(@current_row) %> <% @current_row.each_with_index do |attribute, index| %> <%= attribute %> <% end %> <% end %>