Permalink
Browse files

Update CHANGELOGs and guides.

  • Loading branch information...
1 parent 654df86 commit 6481bc5f49ef26e8fde68ac964dc984d12f33189 @josevalim josevalim committed Dec 16, 2011
Showing with 6 additions and 0 deletions.
  1. +2 −0 actionpack/CHANGELOG.md
  2. +2 −0 railties/CHANGELOG.md
  3. +2 −0 railties/guides/source/configuring.textile
View
@@ -1,5 +1,7 @@
## Rails 3.2.0 (unreleased) ##
+* The ShowExceptions middleware now accepts a exceptions application that is responsible to render an exception when the application fails. The application is invoked with a copy of the exception in `env["action_dispatch.exception"]` and with the PATH_INFO rewritten to the status code. *José Valim*
+
* Add `button_tag` support to ActionView::Helpers::FormBuilder.
This support mimics the default behavior of `submit_tag`.
View
@@ -1,5 +1,7 @@
## Rails 3.2.0 (unreleased) ##
+* Added `config.exceptions_app` to set the exceptions application invoked by the ShowException middleware when an exception happens. Defaults to `ActionDispatch::PublicExceptions.new(Rails.public_path)`. *José Valim*
+
* Speed up development by only reloading classes if dependencies files changed. This can be turned off by setting `config.reload_classes_only_on_change` to false. *José Valim*
* New applications get a flag `config.active_record.auto_explain_threshold_in_seconds` in the environments configuration files. With a value of 0.5 in development.rb, and commented out in production.rb. No mention in test.rb. *fxn*
@@ -82,6 +82,8 @@ NOTE. The +config.asset_path+ configuration is ignored if the asset pipeline is
* +config.encoding+ sets up the application-wide encoding. Defaults to UTF-8.
+* +config.exceptions_app+ sets the exceptions application invoked by the ShowException middleware when an exception happens. Defaults to +ActionDispatch::PublicExceptions.new(Rails.public_path)+.
+
* +config.file_watcher+ the class used to detect file updates in the filesystem when +config.reload_classes_only_on_change+ is true. Must conform to +ActiveSupport::FileUpdateChecker+ API.
* +config.filter_parameters+ used for filtering out the parameters that you don't want shown in the logs, such as passwords or credit card numbers.

0 comments on commit 6481bc5

Please sign in to comment.