aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/streaming.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2015-05-11 06:51:45 -0700
committerclaudiob <claudiob@gmail.com>2015-05-11 16:06:09 -0700
commit271a5521e26be14dc96ae66e1cc6b97896689141 (patch)
tree7ec194684e59e45c6cb1eff62f60047f20a449fd /actionpack/lib/action_controller/metal/streaming.rb
parentfe1055fc84c995cb897f07ddb82f14fc7493c616 (diff)
downloadrails-271a5521e26be14dc96ae66e1cc6b97896689141.tar.gz
rails-271a5521e26be14dc96ae66e1cc6b97896689141.tar.bz2
rails-271a5521e26be14dc96ae66e1cc6b97896689141.zip
[ci skip] Remove comments about Rails 3.1
Stems from https://github.com/rails/rails/pull/20105#issuecomment-100900939 where @senny said: > From my point of view, all the docs (guides, API) are version bound. > They should describe that version and continue to be available when newer versions are released. > The cross referencing can be done by the interested user.
Diffstat (limited to 'actionpack/lib/action_controller/metal/streaming.rb')
-rw-r--r--actionpack/lib/action_controller/metal/streaming.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/streaming.rb b/actionpack/lib/action_controller/metal/streaming.rb
index 04401cad7b..af31de1f3a 100644
--- a/actionpack/lib/action_controller/metal/streaming.rb
+++ b/actionpack/lib/action_controller/metal/streaming.rb
@@ -110,9 +110,9 @@ module ActionController #:nodoc:
# This means that, if you have <code>yield :title</code> in your layout
# and you want to use streaming, you would have to render the whole template
# (and eventually trigger all queries) before streaming the title and all
- # assets, which kills the purpose of streaming. For this reason Rails 3.1
- # introduces a new helper called +provide+ that does the same as +content_for+
- # but tells the layout to stop searching for other entries and continue rendering.
+ # assets, which kills the purpose of streaming. For this purpose, you can use
+ # a helper called +provide+ that does the same as +content_for+ but tells the
+ # layout to stop searching for other entries and continue rendering.
#
# For instance, the template above using +provide+ would be:
#