diff options
author | Tore Darell <toredarell@gmail.com> | 2008-11-09 23:41:55 +0100 |
---|---|---|
committer | Tore Darell <toredarell@gmail.com> | 2008-11-09 23:41:55 +0100 |
commit | 21bd7edb1094c556a4181e92927ed76639bac5ac (patch) | |
tree | e03666afd87898b17f45ee2f1231926dfef791ff /railties | |
parent | c86e797070972c78868eebb2ffa8e71a3dbaca75 (diff) | |
download | rails-21bd7edb1094c556a4181e92927ed76639bac5ac.tar.gz rails-21bd7edb1094c556a4181e92927ed76639bac5ac.tar.bz2 rails-21bd7edb1094c556a4181e92927ed76639bac5ac.zip |
Be consistent with using symbols for options to methods
Diffstat (limited to 'railties')
-rw-r--r-- | railties/doc/guides/source/actioncontroller_basics/streaming.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/actioncontroller_basics/streaming.txt b/railties/doc/guides/source/actioncontroller_basics/streaming.txt index f42480ba25..dc8ebe6d55 100644 --- a/railties/doc/guides/source/actioncontroller_basics/streaming.txt +++ b/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. |