From fa92bb4bf5f24a7a2ab7f0e099890ecd206fa76f Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Wed, 18 Jan 2012 23:51:23 +0530 Subject: [PATCH] updates to 3.2 release notes --- .../guides/source/3_2_release_notes.textile | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/railties/guides/source/3_2_release_notes.textile b/railties/guides/source/3_2_release_notes.textile index 41f565ea28..439cd5f714 100644 --- a/railties/guides/source/3_2_release_notes.textile +++ b/railties/guides/source/3_2_release_notes.textile @@ -213,9 +213,19 @@ end In the example above, Posts controller will no longer automatically look up for a posts layout. If you need this functionality you could either remove layout "application" from +ApplicationController+ or explicitly set it to +nil+ in +PostsController+. +* Deprecated ActionController::UnknownAction in favour of AbstractController::ActionNotFound. + +* Deprecated ActionController::DoubleRenderError in favour of AbstractController::DoubleRenderError. + +* Deprecated method_missing in favour of +action_missing+ for missing actions. + +* Deprecated ActionController#performed? in favour of checking for the presence of response_body. + +* Deprecated ActionController#rescue_action, ActionController#initialize_template_class and ActionController#assign_shortcuts. + h4. Action Dispatch -* Use a BodyProxy instead of including a Module that responds to close. Closes #4441 if Active Record is disabled assets are delivered correctly. +* Add config.action_dispatch.default_charset to configure default charset for ActionDispatch::Response. * Added ActionDispatch::RequestId middleware that'll make a unique X-Request-Id header available to the response and enables the ActionDispatch::Request#uuid method. This makes it easy to trace requests from end-to-end in the stack and to identify individual requests in mixed logs like Syslog. @@ -223,6 +233,10 @@ h4. Action Dispatch * Allow rescue responses to be configured through a railtie as in config.action_dispatch.rescue_responses. +h5. Deprecations + +* Deprecated the ability to set a default charset at the controller level, use the new config.action_dispatch.default_charset instead. + h4. Action View * Add +button_tag+ support to ActionView::Helpers::FormBuilder. This support mimics the default behavior of +submit_tag+. @@ -270,6 +284,10 @@ h5. Deprecations * Passing formats or handlers to render :template and friends like render :template => "foo.html.erb" is deprecated. Instead, you can provide :handlers and :formats directly as an options: render :template => "foo", :formats => [:html, :js], :handlers => :erb. +h3. Sprockets + +* Adds a configuration option config.assets.logger to control Sprockets logging. Set it to +false+ to turn off logging and to +nil+ to default to +Rails.logger+. + h3. Active Record * Boolean columns with 'on' and 'ON' values are type casted to true. -- GitLab