Where is form_tag_with_upload_progress?

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!

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

-Bill

Hi,

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

You can download the plugin using

script/plugin install upload_progress

For

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs