Displaying 2 results from an estimated 2 matches for "material_list".
2013 Oct 10
12
What's the best way to approach reading and parse large XLSX files?
...cess the files and create the new
XLS file after both of the XLSX files were uploaded:*
require ''roo''
require ''spreadsheet''
require ''creek''
class UploadFiles < ActiveRecord::Base
after_commit :process_files
attr_accessible :inventory, :material_list
has_one :inventory
has_one :material_list
has_attached_file :inventory, :url=>"/:current_user/inventory",
:path=>":rails_root/tmp/users/uploaded_files/inventory/inventory.:extension"
has_attached_file :material_list, :url=>"/:current_user/material_list&quo...
2013 Sep 30
0
TypeError: no implicit conversion of Symbol into Hash when submitting form to upload files
...orm-data; name=\"upload_files[inventory]\"; filename=\"1_Inventory.xlsx\"\r\nContent-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\r\n",
@tempfile=#<Tempfile:C:/Users/V80042~1/AppData/Local/Temp/RackMultipart20130930-9236-qiqijn>>,
"material_list"=>#<ActionDispatch::Http::UploadedFile:0x2fe3cf8 @original_filename="2_Material_List.xlsx",
@content_type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@headers="Content-Disposition: form-data; name=\"upload_files[material_list]\&quo...