Permalink
Browse files

Document introduction of the ActionController::UnknownFormat exception

  • Loading branch information...
1 parent dc53fe9 commit 43ab0158fbcafb13fa25d3a06dd53f7b7a92f196 @trevorturk trevorturk committed Feb 28, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 guides/source/upgrading_ruby_on_rails.md
@@ -101,6 +101,8 @@ Also check your environment settings for `config.action_dispatch.best_standards_
* In Rails 4.0, precompiling assets no longer automatically copies non-JS/CSS assets from `vendor/assets` and `lib/assets`. Rails application and engine developers should put these assets in `app/assets` or configure `config.assets.precompile`.
+* In Rails 4.0, a rescuable exception `ActionController::UnknownFormat` is raised when Rails doesn't know what to do with the request format, rather than responding with a head :not_acceptable (406).
+
### Active Support
Rails 4.0 removes the `j` alias for `ERB::Util#json_escape` since `j` is already used for `ActionView::Helpers::JavaScriptHelper#escape_javascript`.

0 comments on commit 43ab015

Please sign in to comment.