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? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---