Displaying 1 result from an estimated 1 matches for "prov_info_bac".
2008 Feb 16
2
NoMethodError... but its not a method!
...renttime])
flash.now[:message] = ''CSV BES Import Successful''
end
end
def prov
@currenttime = Time.now
@parsed_file = FasterCSV::parse(params[:dump][:file])
@parsed_file.shift
n=0
@parsed_file.each do |row|
c=Prov.new
c.prov_info_fac=row[0]
c.prov_info_bac=row[3]
c.prov_info_cycle_end_date=row[5]
c.prov_service_name=row[1]
c.prov_service_number=row[2]
c.prov_service_provider=row[4]
c.prov_charges_tot=row[43] # THIS IS WHERE THE ERROR OCCURS
c.prov_charges_tot_access=row[6]
c.prov_charges_tot_airtime=row[7]
c.prov_charges_tot_kb=ro...