Forum: Ruby on Rails where is form_tag_with_upload_progress?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
jack.tang (Guest)
on 2007-02-07 16:38
(Received via mailing list)

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' %>

  <div id="status" style="display: none">
    <%= 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?
Bill S. (Guest)
on 2007-02-07 16:47
(Received via mailing list)
This helper was moved from Rails proper to the Upload Progress plugin

jack.tang (Guest)
on 2007-02-07 16:59
(Received via mailing list)

Where can I get the source code of Upload Progress Plugin?
Bill S. (Guest)
on 2007-02-07 17:11
(Received via mailing list)
You can download the plugin using
> script/plugin install upload_progress

This topic is locked and can not be replied to.