search for: importcsv

Displaying 1 result from an estimated 1 matches for "importcsv".

Did you mean: importas
2011 May 19
3
Cookie Overflow at CSV import
...t I don''t know how to do that. I have the following in my controller: file = params[:file] CSV.new(file.tempfile, {:headers => false, :col_sep => ";"}).each do |row| @list << row[1] end end and this in my view: <%=form_tag ''/importcsv/csv_import'', :multipart => true do%> <%= file_field_tag "file" %><br/> <%= submit_tag("Import") %> <% end %> Cheers, Sebastian -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&quo...