I have a form (Rails) which allows me to load a .csv file using the file_field. In the view:
file_field
<% form_for(:upcsv, :html => {:multipa
another way to read the number of lines is
file.readlines.size