Nobody?

Ok maybe I'm asking the wrong question:

Has Rack come up with a way to handle uploads in a way that scales
well without emptying the rails thread pool so that nobody is even
using mod_porter?


On Sep 11, 11:00 am, "reube...@gmail.com" <reube...@gmail.com> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to