Forum: Ruby on Rails where is form_tag_with_upload_progress?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
jack.tang (Guest)
on 2007-02-07 16:38
(Received via mailing list)
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' %>

  <div id="status" style="display: none">
    <%= upload_status_tag %>
  </div>

  <%= 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!
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
(http://sean.treadway.info/articles/2005/07/18/uplo...
checklist).

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

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

For
This topic is locked and can not be replied to.