Ruby on Rails Tuesday, March 27, 2012

On 27 Mar 2012, at 14:59, Aaron Schmitz <a.schmitz703@googlemail.com> wrote:

> i've got a multipart-form with
>
> <%= file_field_tag 'objects[]', :id => 'file', :multiple => true %>
>
> rails does the upload when i click on "go". in firebug i can see that
> there is a post 200 going on and i can see how long the upload takes.
> how can i access this whithout ajax?
>

The only way I know of accessing upload progress info is either using a flash uploader or an apache module like https://github.com/drogus/apache-upload-progress-module (there is an equivalent plugin for nginx if my memory is correct)

Fred
> --
> 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+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment