Where is form_tag_with_upload_progress?


#1

Hi,

I am now try to do file uploading using AJAX and through google I find
that these code snipe should work.

<%= form_tag_with_upload_progress({:action => ‘upload’}, {
:begin => “new Effect.Appear(‘status’)”,
:finish => “$(‘message’).innerHTML = arguments[0]” })%>

<%= file_field ‘document’, ‘file’ %>
<%= submit_tag ‘Upload’ %>

<%= upload_status_tag %>

<%= end_form_tag %>

however, i cannot find form_tag_with_upload_progress method in rails
doc at all. and my rails version is 1.2. Could you please help me out?
Thanks!


#2

This helper was moved from Rails proper to the Upload Progress plugin
(http://sean.treadway.info/articles/2005/07/18/upload-progress-
checklist).

-Bill


#3

Hi,

Where can I get the source code of Upload Progress Plugin?


#4

You can download the plugin using

script/plugin install upload_progress

For