aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-08-30 22:16:27 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-08-30 22:16:27 +0900
commit341151da5b298d95133b7ac1dae35a54faf0763f (patch)
tree3b440325139fd373ebc6ea99ff8850af6e64d8c5 /guides
parentfa9e4970ea5affe8c5dedf8c9f97e064dc796feb (diff)
downloadrails-341151da5b298d95133b7ac1dae35a54faf0763f.tar.gz
rails-341151da5b298d95133b7ac1dae35a54faf0763f.tar.bz2
rails-341151da5b298d95133b7ac1dae35a54faf0763f.zip
fix typo in method name [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_controller_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index d2173c39f6..b4ca0df0de 100644
--- a/guides/source/action_controller_overview.md
+++ b/guides/source/action_controller_overview.md
@@ -1029,7 +1029,7 @@ There are a couple of things to notice in the above example. We need to make
sure to close the response stream. Forgetting to close the stream will leave
the socket open forever. We also have to set the content type to `text/event-stream`
before we write to the response stream. This is because headers cannot be written
-after the response has been committed (when `response.committed` returns a truthy
+after the response has been committed (when `response.committed?` returns a truthy
value), which occurs when you `write` or `commit` the response stream.
#### Example Usage