aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2016-03-22 12:09:11 +0100
committerYves Senn <yves.senn@gmail.com>2016-03-22 12:12:39 +0100
commitc94045dc1ca019707ae9dafe3f7f8471e80fa6ee (patch)
treedc16a05e8a0a178d10ae85605a9d1dc950716763 /actionpack
parentb69e8d79e8a1d067028c5f67fbd284a96759676a (diff)
downloadrails-c94045dc1ca019707ae9dafe3f7f8471e80fa6ee.tar.gz
rails-c94045dc1ca019707ae9dafe3f7f8471e80fa6ee.tar.bz2
rails-c94045dc1ca019707ae9dafe3f7f8471e80fa6ee.zip
guides, sync railties and AP changelogs with 5.0 release notes.
[ci skip] This updates the 5.0 release notes guide to reflect changes that happened after beta1 has been released. I'll sync the other changelogs later today but I'll push this batch to prevent against cumbersome merge conflicts.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md20
1 files changed, 8 insertions, 12 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 61c608972c..e8a29f5182 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,7 +1,7 @@
* When a `respond_to` collector with a block doesn't have a response, then
a `:no_content` response should be rendered. This brings the default
rendering behavior introduced by https://github.com/rails/rails/issues/19036
- to controller methods employing `respond_to`
+ to controller methods employing `respond_to`.
*Justin Coyne*
@@ -30,10 +30,10 @@
First, if a template exists for the controller action, it is rendered.
This template lookup takes into account the action name, locales, format,
- variant, template handlers, etc. (see +render+ for details).
+ variant, template handlers, etc. (see `render` for details).
Second, if other templates exist for the controller action but is not in
- the right format (or variant, etc.), an <tt>ActionController::UnknownFormat</tt>
+ the right format (or variant, etc.), an `ActionController::UnknownFormat`
is raised. The list of available templates is assumed to be a complete
enumeration of all the possible formats (or variants, etc.); that is,
having only HTML and JSON templates indicate that the controller action is
@@ -42,7 +42,7 @@
Third, if the current request is an "interactive" browser request (the user
navigated here by entering the URL in the address bar, submiting a form,
clicking on a link, etc. as opposed to an XHR or non-browser API request),
- <tt>ActionView::UnknownFormat</tt> is raised to display a helpful error
+ `ActionView::UnknownFormat` is raised to display a helpful error
message.
Finally, it falls back to the same "204 No Content" behavior as API controllers.
@@ -51,7 +51,7 @@
## Rails 5.0.0.beta3 (February 24, 2016) ##
-* Add application/gzip as a default mime type.
+* Add "application/gzip" as a default mime type.
*Mehmet Emin İNAÇ*
@@ -102,7 +102,7 @@
*Kasper Timm Hansen*
-* Add image/svg+xml as a default mime type.
+* Add "image/svg+xml" as a default mime type.
*DHH*
@@ -115,7 +115,7 @@
See #18902.
- *Anton Davydov* & *Vipul A M*
+ *Anton Davydov*, *Vipul A M*
* Response etags to always be weak: Prefixes 'W/' to value returned by
`ActionDispatch::Http::Cache::Response#etag=`, such that etags set in
@@ -147,11 +147,7 @@
* Add option for per-form CSRF tokens.
- *Greg Ose & Ben Toews*
-
-* Add tests and documentation for `ActionController::Renderers::use_renderers`.
-
- *Benjamin Fleischer*
+ *Greg Ose*, *Ben Toews*
* Fix `ActionController::Parameters#convert_parameters_to_hashes` to return filtered
or unfiltered values based on from where it is called, `to_h` or `to_unsafe_h`