Where is form_tag_with_upload_progress?


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?

This helper was moved from Rails proper to the Upload Progress plugin



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

You can download the plugin using

script/plugin install upload_progress


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