I’m trying to set up an upload interface to use mod_porter, however I
can’t seem to read the hash that it hands off to the rails method.
It seems like I should be able to access the hash content using params
[:file][:data][:filename] and params[:file][:data][:path] etc…
But it throws an error saying:
undefined method `[]’ for #<ModPorter::UploadedFile: … >
What am I doing wrong?