=debug @xlsx
=debug @xlsx.info
-ir = 1
-while ir <= (9) do
  =ir
  -ir += 1
  =@sheet.row(ir)[4]

%p=@sheet.row(1)[4] 
%p=@sheet.row(2)[4] 
%p=@sheet.row(3)[4] 
%p=@sheet.row(4)[4] 
%p=@sheet.row(5)[4] 
  
-new_titles = []
%table
  -i = 0
  -@sheet.row(1).each do |title|
  
    %tr
      %td{:style => "width:100px;"}
        =i
        
      %td=title
      %td=title = title.to_slug.gsub('-','_')
      %td=@sheet.row(10137)[i]
      %td=@sheet.row(10137)[i].class.to_s
      -new_titles << title.to_sym
      -i = i + 1
      
-new_titles.each do |title|
  =#"#{title}:string"
  
-rows =[]


-row = @sheet.row(1)
-i = 0
-re = {}
-row.each do |c|
  -c
  -re[new_titles[i]] = c
  -i= i +1
-rows << re

=debug rows
=debug @sheet.last_row

  
-rows =[]

-ir = 1
-while ir <= (@sheet.last_row) do
  -ir += 1
  -row = @sheet.row(ir)
  -i = 0
  -re = {}
  -row.each do |c|
    -c
    -re[new_titles[i]] = c
    -i= i +1
  -rows << re
  -DonatorImport.create(re)

=debug rows