aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-07-29 21:42:42 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-07-29 21:43:07 -0700
commit0899be5798d20e3e886e5f741d3e4b1bf43afedd (patch)
tree28edecab8bd443abd86cf338651af726f1bafc57 /actionpack
parentfa3c4ea6d0dee5995d0ac56699540eb9a3149224 (diff)
downloadrails-0899be5798d20e3e886e5f741d3e4b1bf43afedd.tar.gz
rails-0899be5798d20e3e886e5f741d3e4b1bf43afedd.tar.bz2
rails-0899be5798d20e3e886e5f741d3e4b1bf43afedd.zip
updated changelog
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index ec85f67e58..d5326e3d0b 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,5 +1,21 @@
## Rails 4.0.0 (unreleased) ##
+* Added ActionController::Live. Mix it in to your controller and you can
+ stream data to the client live. For example:
+
+ class FooController < ActionController::Base
+ include ActionController::Live
+
+ def index
+ 100.times {
+ # Client will see this as it's written
+ response.stream.write "hello world\n"
+ sleep 1
+ }
+ response.stream.close
+ end
+ end
+
* Remove ActionDispatch::Head middleware in favor of Rack::Head. *Santiago Pastorino*
* Deprecate `:confirm` in favor of `:data => { :confirm => "Text" }` option for `button_to`, `button_tag`, `image_submit_tag`, `link_to` and `submit_tag` helpers.