Displaying 1 result from an estimated 1 matches for "upload_files_controller".
2013 Sep 30
0
TypeError: no implicit conversion of Symbol into Hash when submitting form to upload files
...ly new to Rails and Ruby and I''m trying to learn from my
mistakes, this time I''m trying to upload 2 files from a form for later
processing, however, after I hit the "Submit" button. I keep getting this
error:
TypeError in UploadFilesController#create
app/controllers/upload_files_controller.rb:28:in `new''
app/controllers/upload_files_controller.rb:28:in `create''
Request
Parameters:
{"utf8"=>"✓",
"authenticity_token"=>"2JJGtRXjWCZlPNhQdx6wOW4xvTseiRaXNylnUYvA5v4=",
"upload_files"=>{"inventory"=&...