Skip to content
This repository
Browse code

Fixed documentation snafu with send_file -- the option is :stream, no…

…t :streaming #1621 [evl]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 38e78c626068ed7a2840dc97c9af551f8f106786 1 parent 6f26511
David Heinemeier Hansson authored July 06, 2005
2  actionpack/lib/action_controller/streaming.rb
@@ -24,7 +24,7 @@ module Streaming
24 24
       #   Defaults to 'application/octet-stream'.
25 25
       # * <tt>:disposition</tt> - specifies whether the file will be shown inline or downloaded.  
26 26
       #   Valid values are 'inline' and 'attachment' (default).
27  
-      # * <tt>:streaming</tt> - whether to send the file to the user agent as it is read (true)
  27
+      # * <tt>:stream</tt> - whether to send the file to the user agent as it is read (true)
28 28
       #   or to read the entire file before sending (false). Defaults to true.
29 29
       # * <tt>:buffer_size</tt> - specifies size (in bytes) of the buffer used to stream the file.
30 30
       #   Defaults to 4096.

0 notes on commit 38e78c6

Please sign in to comment.
Something went wrong with that request. Please try again.