Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Additional review of 6b31761. | Kasper Timm Hansen | 2016-02-25 | 1 | -1/+1 |
| | | | | | * Fixes typos in error message and release notes. * Removes unused template test file. | ||||
* | Lock down new `ImplicitRender` behavior for 5.0 RC | Godfrey Chan | 2016-02-25 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Conceptually revert #20276 The feature was implemented for the `responders` gem. In the end, they did not need that feature, and have found a better fix (see plataformatec/responders#131). `ImplicitRender` is the place where Rails specifies our default policies for the case where the user did not explicitly tell us what to render, essentially describing a set of heuristics. If the gem (or the user) knows exactly what they want, they could just perform the correct `render` to avoid falling through to here, as `responders` did (the user called `respond_with`). Reverting the patch allows us to avoid exploding the complexity and defining “the fallback for a fallback” policies. 2. `respond_to` and templates are considered exhaustive enumerations If the user specified a list of formats/variants in a `respond_to` block, anything that is not explicitly included should result in an `UnknownFormat` error (which is then caught upstream to mean “406 Not Acceptable” by default). This is already how it works before this commit. Same goes for templates – if the user defined a set of templates (usually in the file system), that set is now considered exhaustive, which means that “missing” templates are considered `UnknownFormat` errors (406). 3. To keep API endpoints simple, the implicit render behavior for actions with no templates defined at all (regardless of formats, locales, variants, etc) are defaulted to “204 No Content”. This is a strictly narrower version of the feature landed in #19036 and #19377. 4. To avoid confusion when interacting in the browser, these actions will raise an `UnknownFormat` error for “interactive” requests instead. (The precise definition of “interactive” requests might change – the spirit here is to give helpful messages and avoid confusions.) Closes #20666, #23062, #23077, #23564 [Godfrey Chan, Jon Moss, Kasper Timm Hansen, Mike Clark, Matthew Draper] | ||||
* | Fix wording and wrong reference | Stan Lo | 2016-02-25 | 1 | -1/+1 |
| | |||||
* | Update 5.0 release notes | Stan Lo | 2016-02-25 | 1 | -0/+6 |
| | |||||
* | Add a note about downcasing submit tag | Scott Ringwelski | 2016-02-21 | 1 | -0/+3 |
| | | | This is a notable change since this will cause confusing test failures for tests relying on the old naming scheme. | ||||
* | Add Action Cable CHANGELOG in release notes [ci skip] | Prathamesh Sonpatki | 2016-02-17 | 1 | -0/+1 |
| | |||||
* | Add `#on_weekday?` method to `Date`, `Time`, and `DateTime`. | Vipul A M | 2016-02-15 | 1 | -1/+1 |
| | |||||
* | Mention PostgreSQL version support in release notes [ci skip] | Prathamesh Sonpatki | 2016-02-03 | 1 | -0/+3 |
| | |||||
* | Add documentation for #17573 | Jon Moss | 2016-02-01 | 1 | -0/+3 |
| | | | | | | Fixes some parts of #23148. [ci skip] | ||||
* | Remove duplicate entry for ActiveRecord::Relation#cache_key from Rails 5 ↵ | Prathamesh Sonpatki | 2016-01-02 | 1 | -3/+0 |
| | | | | release notes [ci skip] | ||||
* | [ci skip] Put all removals in its section | Akshay Vishnoi | 2015-12-30 | 1 | -3/+3 |
| | |||||
* | Merge pull request #22053 from Empact/first-loaded | Yves Senn | 2015-12-28 | 1 | -0/+4 |
|\ | | | | | | | Fix #first(limit) to take advantage of #loaded? records if available | ||||
* | | fix link to pr [ci skip] | yuuji.yaginuma | 2015-12-27 | 1 | -1/+1 |
|/ | |||||
* | release notes, use past tense. [ci skip] | Ryuta Kamizono | 2015-12-24 | 1 | -2/+2 |
| | |||||
* | release notes, Rails 5 won't support the protected_attribtues gem. | Yves Senn | 2015-12-23 | 1 | -0/+3 |
| | | | | [ci skip] | ||||
* | release notes, extracted notable changes from Active Record CHANGELOG. | Yves Senn | 2015-12-23 | 1 | -1/+163 |
| | | | | [ci skip] | ||||
* | release notes, extract notable changes from Active Model CHANGELOG. | Yves Senn | 2015-12-23 | 1 | -0/+28 |
| | | | | [ci skip] | ||||
* | release notes, extract notable changes from Active Job CHANGELOG. | Yves Senn | 2015-12-23 | 1 | -3/+16 |
| | | | | [ci skip] | ||||
* | release notes, extract notable changes from Active Support CHANGELOG. | Yves Senn | 2015-12-23 | 1 | -1/+116 |
| | | | | [ci skip] | ||||
* | Fix typos in Rails 5.0 release notes [ci skip] | Prathamesh Sonpatki | 2015-12-23 | 1 | -2/+2 |
| | |||||
* | fixes typo in 5.0 release notes | Laurier Mantel | 2015-12-22 | 1 | -1/+1 |
| | |||||
* | release notes, extract notable changes from Action Mailer CHANGELOG. | Yves Senn | 2015-12-22 | 1 | -1/+19 |
| | | | | [ci skip] | ||||
* | release notes, extract notable changes from Action View CHANGELOG. | Yves Senn | 2015-12-22 | 1 | -3/+24 |
| | | | | [ci skip] | ||||
* | release notes, use past tense. [ci skip] | Yves Senn | 2015-12-22 | 1 | -15/+15 |
| | |||||
* | release notes, extract notable changes from Action Pack CHANGELOG. | Yves Senn | 2015-12-22 | 1 | -0/+114 |
| | | | | [ci skip] | ||||
* | release notes, extract notable changes from Railties CHANGELOG. | Yves Senn | 2015-12-22 | 1 | -5/+49 |
| | | | | [ci skip] | ||||
* | guides, restructure Rails 5.0 release notes. [ci skip] | Yves Senn | 2015-12-22 | 1 | -91/+152 |
| | | | | | xref #22701. xref #20612. | ||||
* | Add Rails 5.0 Release Notes | Jon Moss | 2015-12-21 | 1 | -0/+188 |
[ci skip] |