diff options
author | Vipul A M <vipulnsward@gmail.com> | 2017-03-13 23:00:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-13 23:00:52 +0530 |
commit | e0397b0c25e790eba0c914d9ff97360219f49e29 (patch) | |
tree | 3f9dcdc1a7feba48284123191124947c7703cd7d /actionpack/lib/action_controller/metal/live.rb | |
parent | a5746cb4ecc524f465ff305d1ff5d5b85c05fd53 (diff) | |
parent | b383b346600d5325a211376837bc83b7ae472f46 (diff) | |
download | rails-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.rb | 8 |
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 { |