Browse files

Be consistent with using symbols for options to methods

  • Loading branch information...
1 parent c86e797 commit 21bd7edb1094c556a4181e92927ed76639bac5ac @toretore toretore committed Nov 9, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/doc/guides/source/actioncontroller_basics/streaming.txt
View
2 railties/doc/guides/source/actioncontroller_basics/streaming.txt
@@ -48,7 +48,7 @@ class ClientsController < ApplicationController
end
----------------------------
-This will read and stream the file 4Kb at the time, avoiding loading the entire file into memory at once. You can turn off streaming with the `stream` option or adjust the block size with the `buffer_size` option.
+This will read and stream the file 4Kb at the time, avoiding loading the entire file into memory at once. You can turn off streaming with the `:stream` option or adjust the block size with the `:buffer_size` option.
WARNING: Be careful when using (or just don't use) "outside" data (params, cookies, etc) to locate the file on disk, as this is a security risk that might allow someone to gain access to files they are not meant to see.

0 comments on commit 21bd7ed

Please sign in to comment.