aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-08-30 16:22:51 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2015-08-30 16:22:51 +0200
commit1a432cd8aa805ea62c9e56afb8c6665b135196b0 (patch)
tree3b440325139fd373ebc6ea99ff8850af6e64d8c5 /guides
parentfa9e4970ea5affe8c5dedf8c9f97e064dc796feb (diff)
parent341151da5b298d95133b7ac1dae35a54faf0763f (diff)
downloadrails-1a432cd8aa805ea62c9e56afb8c6665b135196b0.tar.gz
rails-1a432cd8aa805ea62c9e56afb8c6665b135196b0.tar.bz2
rails-1a432cd8aa805ea62c9e56afb8c6665b135196b0.zip
Merge pull request #21433 from y-yagi/fix_typo
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