From 853ea556749809658c0a5c0c8b61263ec022fba1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 6 Jul 2005 09:32:00 +0000 Subject: Made documentation ready for release (AP) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/upload_progress.rb | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'actionpack/lib/action_controller/upload_progress.rb') diff --git a/actionpack/lib/action_controller/upload_progress.rb b/actionpack/lib/action_controller/upload_progress.rb index 1e45f9daf2..6ffe429758 100644 --- a/actionpack/lib/action_controller/upload_progress.rb +++ b/actionpack/lib/action_controller/upload_progress.rb @@ -6,6 +6,13 @@ require 'action_controller/cgi_ext/multipart_progress' module ActionController #:nodoc: + # == THIS IS AN EXPERIMENTAL FEATURE + # + # Which means that it doesn't yet work on all systems. We're still working on full + # compatibility. It's thus not advised to use this unless you've verified it to work + # fully on all the systems that is a part of your environment. Consider this an extended + # preview. + # # == Action Pack Upload Progress for multipart uploads # # The UploadProgress module aids in the process of viewing an Ajax driven @@ -124,9 +131,7 @@ module ActionController #:nodoc: # def custom_status # render :inline => '<%= upload_progress_status %>
Updated at <%= Time.now %>
', :layout => false # end - # - # - module UploadProgress #:nodoc: + module UploadProgress def self.append_features(base) #:nodoc: super base.extend(ClassMethods) @@ -262,6 +267,13 @@ module ActionController #:nodoc: session[:uploads] && session[:uploads][upload_id] || UploadProgress::Progress.new(0) end + # == THIS IS AN EXPERIMENTAL FEATURE + # + # Which means that it doesn't yet work on all systems. We're still working on full + # compatibility. It's thus not advised to use this unless you've verified it to work + # fully on all the systems that is a part of your environment. Consider this an extended + # preview. + # # Upload Progress abstracts the progress of an upload. It's used by the # multipart progress IO that keeps track of the upload progress and creating # the application depends on. It contians methods to update the progress -- cgit v1.2.3