aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-05-02 23:53:53 +0200
committerJosé Valim <jose.valim@gmail.com>2011-05-03 01:04:57 +0200
commit3cca86641e91400e3317ce2d03b483edf1db3ec2 (patch)
tree21ffbe503bdc93861b51861fe547dd78a1ee2f4c /actionpack
parentfa77665a342b2486760c69007af4352cb40aae1e (diff)
downloadrails-3cca86641e91400e3317ce2d03b483edf1db3ec2.tar.gz
rails-3cca86641e91400e3317ce2d03b483edf1db3ec2.tar.bz2
rails-3cca86641e91400e3317ce2d03b483edf1db3ec2.zip
Update CHANGELOG.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG20
-rw-r--r--actionpack/lib/action_controller/metal/streaming.rb2
2 files changed, 17 insertions, 5 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 448ee878b1..ba01c4749f 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -6,15 +6,27 @@
[tenderlove]
-* Add `ActionController::ParamsWrapper` to wrap parameters into a nested hash, and will be turned on for JSON request in new applications by default [Prem Sichanugrist]
+* Added streaming support, you can enable it with: [José Valim]
- This can be customizabled by setting `ActionController::Base.wrap_parameters` in `config/initializer/wrap_parameters.rb`
+ class PostsController < ActionController::Base
+ stream :only => :index
+ end
+
+ Please read the docs at `ActionController::Streaming` for more information.
+
+* Added `ActionDispatch::Request.ignore_accept_header` to ignore accept headers and only consider the format given as parameter [José Valim]
+
+* Created `ActionView::Renderer` and specified an API for `ActionView::Context`, check those objects for more information [José Valim]
+
+* Added `ActionController::ParamsWrapper` to wrap parameters into a nested hash, and will be turned on for JSON request in new applications by default [Prem Sichanugrist]
+
+ This can be customized by setting `ActionController::Base.wrap_parameters` in `config/initializer/wrap_parameters.rb`
* RJS has been extracted out to a gem. [fxn]
-* Implicit actions named not_implemented can be rendered [Santiago Pastorino]
+* Implicit actions named not_implemented can be rendered. [Santiago Pastorino]
-* Wildcard route will always matching the optional format segment by default. [Prem Sichanugrist]
+* Wildcard route will always match the optional format segment by default. [Prem Sichanugrist]
For example if you have this route:
diff --git a/actionpack/lib/action_controller/metal/streaming.rb b/actionpack/lib/action_controller/metal/streaming.rb
index 1d27c3aa51..3892a12407 100644
--- a/actionpack/lib/action_controller/metal/streaming.rb
+++ b/actionpack/lib/action_controller/metal/streaming.rb
@@ -160,7 +160,7 @@ module ActionController #:nodoc:
# needs to inject contents in the HTML body.
#
# Also +Rack::Cache+ won't work with streaming as it does not support
- # streaming bodies yet. So, whenever streaming, Cache-Control is automatically
+ # streaming bodies yet. Whenever streaming Cache-Control is automatically
# set to "no-cache".
#
# == Errors