aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/live.rb
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-03-13 23:00:52 +0530
committerGitHub <noreply@github.com>2017-03-13 23:00:52 +0530
commite0397b0c25e790eba0c914d9ff97360219f49e29 (patch)
tree3f9dcdc1a7feba48284123191124947c7703cd7d /actionpack/lib/action_controller/metal/live.rb
parenta5746cb4ecc524f465ff305d1ff5d5b85c05fd53 (diff)
parentb383b346600d5325a211376837bc83b7ae472f46 (diff)
downloadrails-e0397b0c25e790eba0c914d9ff97360219f49e29.tar.gz
rails-e0397b0c25e790eba0c914d9ff97360219f49e29.tar.bz2
rails-e0397b0c25e790eba0c914d9ff97360219f49e29.zip
Merge pull request #28381 from shime/docs-action-controller-base
[docs] fix ActionController docs
Diffstat (limited to 'actionpack/lib/action_controller/metal/live.rb')
-rw-r--r--actionpack/lib/action_controller/metal/live.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal/live.rb b/actionpack/lib/action_controller/metal/live.rb
index fed99e6c82..a607ee2309 100644
--- a/actionpack/lib/action_controller/metal/live.rb
+++ b/actionpack/lib/action_controller/metal/live.rb
@@ -239,8 +239,8 @@ module ActionController
error = nil
# This processes the action in a child thread. It lets us return the
- # response code and headers back up the rack stack, and still process
- # the body in parallel with sending data to the client
+ # response code and headers back up the Rack stack, and still process
+ # the body in parallel with sending data to the client.
new_controller_thread {
ActiveSupport::Dependencies.interlock.running do
t2 = Thread.current
@@ -278,9 +278,9 @@ module ActionController
raise error if error
end
- # Spawn a new thread to serve up the controller in. This is to get
+ # Spawn a new thread to serve up the controller in. This is to get
# around the fact that Rack isn't based around IOs and we need to use
- # a thread to stream data from the response bodies. Nobody should call
+ # a thread to stream data from the response bodies. Nobody should call
# this method except in Rails internals. Seriously!
def new_controller_thread # :nodoc:
Thread.new {