diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-06 09:32:00 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-06 09:32:00 +0000 |
commit | 853ea556749809658c0a5c0c8b61263ec022fba1 (patch) | |
tree | dfc15b8c05381e58aee1c69b80d14ff619a6510d /actionpack/lib/action_controller/upload_progress.rb | |
parent | 744058b6997edbd323e888e19e58d6573eb60ddf (diff) | |
download | rails-853ea556749809658c0a5c0c8b61263ec022fba1.tar.gz rails-853ea556749809658c0a5c0c8b61263ec022fba1.tar.bz2 rails-853ea556749809658c0a5c0c8b61263ec022fba1.zip |
Made documentation ready for release (AP)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/upload_progress.rb')
-rw-r--r-- | actionpack/lib/action_controller/upload_progress.rb | 18 |
1 files changed, 15 insertions, 3 deletions
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 %> <div>Updated at <%= Time.now %></div>', :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 |