Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@dhh dhh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/streaming.rb
View
2  actionpack/lib/action_controller/streaming.rb
@@ -24,7 +24,7 @@ module Streaming
# Defaults to 'application/octet-stream'.
# * <tt>:disposition</tt> - specifies whether the file will be shown inline or downloaded.
# Valid values are 'inline' and 'attachment' (default).
- # * <tt>:streaming</tt> - whether to send the file to the user agent as it is read (true)
+ # * <tt>:stream</tt> - whether to send the file to the user agent as it is read (true)
# or to read the entire file before sending (false). Defaults to true.
# * <tt>:buffer_size</tt> - specifies size (in bytes) of the buffer used to stream the file.
# Defaults to 4096.
Please sign in to comment.
Something went wrong with that request. Please try again.