aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | [ci skip]Add info for specifying logger in different envrionments.Kuldeep Aggarwal2016-02-271-1/+1
|/ / / / | | | | | | | | | | | | refer 2dc3e81aea8dbc, 56ca2061df83a3
* | | | Merge pull request #23902 from prajakta-tambe/update-debuggings-rails-app-docप्रथमेश Sonpatki2016-02-261-5/+5
|\ \ \ \ | | | | | | | | | | Changed debugging rails app doc.
| * | | | - Changed Debugging Rails Applications doc's logger introduction section. ↵prajakta2016-02-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed location for specifying logger. [Prajakta, thiagoaugusto]
* | | | | Doc: update AC::Parameters guides for Rails 5claudiob2016-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Doc: update routes guides for Rails 5claudiob2016-02-251-14/+18
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Merge pull request #23874 from st0012/update-documentsAndrew White2016-02-251-1/+3
|\ \ \ \ \ | | | | | | | | | | | | [ci skip] Update configuration guide
| * | | | | Add config.debug_exception_response_format into configuration guideStan Lo2016-02-251-0/+2
| | | | | |
| * | | | | Update config.force_ssl's documentationStan Lo2016-02-251-1/+1
| | | | | |
* | | | | | Additional review of 6b31761.Kasper Timm Hansen2016-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes typos in error message and release notes. * Removes unused template test file.
* | | | | | Lock down new `ImplicitRender` behavior for 5.0 RCGodfrey Chan2016-02-251-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]
* | | | | Enable Action Cable routes by defaultJon Moss2016-02-241-0/+11
| | | | | | | | | | | | | | | | | | | | This also marks Action Cable routes as internal to Rails.
* | | | | [ci skip] Need to mention debug_exception_response_format in the api_app ↵Akshay2016-02-251-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation. - #23771 removed the reference to debug_exception_response_format from the api_app documentation. - We need to let users know, they have ability to configure debug_exception_response_format in their development environment. - Added documentation for the same in api_app.md file - Grammar corrections
* | | | | Updated file documentation [ci skip]Chashmeet Singh2016-02-241-1/+1
| | | | |
* | | | | Merge pull request #23860 from zerothabhishek/weak-etag-guideRafael França2016-02-241-0/+8
|\ \ \ \ \ | | | | | | | | | | | | Changes caching guide to add note on weak etags
| * | | | | changes caching guide to add note on weak etagsAbhishek Yadav2016-02-241-0/+8
| | | | | |
* | | | | | Fix wording and wrong referenceStan Lo2016-02-252-2/+2
| | | | | |
* | | | | | Fix ActionView's cache section referenceStan Lo2016-02-251-1/+1
| | | | | |
* | | | | | Add caching guide in ActionMailer basicsStan Lo2016-02-251-0/+16
| | | | | |
* | | | | | Add ActionMailer configuration optionsStan Lo2016-02-251-0/+3
| | | | | |
* | | | | | Update 5.0 release notesStan Lo2016-02-251-0/+6
| |/ / / / |/| | | |
* | | | | Merge pull request #23795 from claudiob/replace-rack-with-rails-commandDavid Heinemeier Hansson2016-02-241-8/+14
|\ \ \ \ \ | | | | | | | | | | | | AppGenerator: Replace 'rake' with 'rails_command'
| * | | | | AppGenerator: Replace 'rake' with 'rails_command'claudiob2016-02-201-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Rails 5.0 is switching the Rails command line from 'rake …' to 'rails …', it makes sense to also replace the `rake` method in the Rails templates API. Based on feedback from @matthewd and @kaspth, I chose to replace `rake` with `rails_command`, which is less confusing than the alternatives `rails` or `command` or `rails_run` and is not Thor-reserved word like `task`.
* | | | | | Merge pull request #23836 from sstephenson/turbolinks-5Rafael França2016-02-232-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | Turbolinks 5 compatibility changes
| * | | | | | Update JavaScript guide for Turbolinks 5Sam Stephenson2016-02-231-6/+6
| | | | | | |
| * | | | | | Switch to `data-turbolinks-track="reload"`Sam Stephenson2016-02-231-2/+2
| | |/ / / / | |/| | | |
* | | | | | [ci skip] No hyphen in 'side effects'Michael Groeneman2016-02-231-1/+1
| | | | | |
* | | | | | [ci skip] Fix typo in Form Helpers GuideMichael Groeneman2016-02-231-1/+1
|/ / / / /
* | | | | update assert_nothing_raised in testing.mdTara Scherner de la Fuente2016-02-221-1/+1
| | | | |
* | | | | Add a note about downcasing submit tagScott Ringwelski2016-02-211-0/+3
|/ / / / | | | | | | | | This is a notable change since this will cause confusing test failures for tests relying on the old naming scheme.
* | | | remove needless `debug_exception_response_format` config [ci skip]yuuji.yaginuma2016-02-191-8/+0
| | | | | | | | | | | | | | | | | | | | Since a0343d11f1bf80a79e273c1d0cf9934ef2601e98, `debug_exception_response_format` config depends on `api_only`. Therefore, if set the `api_only`, need to specify `debug_exception_response_format` is not.
* | | | partial pass over the API guide [ci skip]Xavier Noria2016-02-181-15/+14
| | | |
* | | | [ci skip] fix suggested change-replace 'an' with 'the in Rails engine guide'kamal namdeo2016-02-181-1/+1
| | | |
* | | | Fix the language in engines guidekamal namdeo2016-02-181-1/+1
| | | |
* | | | Add Action Cable CHANGELOG in release notes [ci skip]Prathamesh Sonpatki2016-02-171-0/+1
| | | |
* | | | [ci skip] Updating edge rails guides to include `on_weekday?` on Date, Time ↵Chirag Aggarwal2016-02-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | and DateTime [ci skip] Adding `on_weekend?` method in edge rails guides
* | | | reset `ActionMailer::Base.deliveries` in `ActionDispatch::IntegrationTest`.Yves Senn2016-02-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever you are sending emails in integration tests using the `:test` delivery method you need to make sure that `ActionMailer::Base.deliveries` is reset after every test. This piece of boilerplate code is present in all my applications that send emails. Let's have `ActionDispatch::IntegrationTest` reset the deliveries automatically.
* | | | Merge pull request #23688 from meinac/guide_typo_fixEileen M. Uchitelle2016-02-153-3/+3
|\ \ \ \ | | | | | | | | | | Fix small typo in i18n guide [ci skip]
| * | | | Fix small typo in Rails guides [ci skip]Mehmet Emin İNAÇ2016-02-153-3/+3
| | | | |
* | | | | Merge pull request #23687 from vipulnsward/add-on-weekdayDavid Heinemeier Hansson2016-02-151-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Add `#on_weekday?` method to `Date`, `Time`, and `DateTime`.
| * | | | Add `#on_weekday?` method to `Date`, `Time`, and `DateTime`.Vipul A M2016-02-151-1/+1
| | | | |
* | | | | restores the guides layout header [ci skip]Xavier Noria2016-02-131-1/+11
|/ / / /
* | | | Merge pull request #23660 from meinac/change_x_gzip_to_gzipJon Moss2016-02-131-1/+1
|\ \ \ \ | | | | | | | | | | Change x-gzip to gzip in docs [ci skip]
| * | | | Change x-gzip to gzip in docs [ci skip]Mehmet Emin İNAÇ2016-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | For more information about GNU zip mime type please check IETF's web site [RFC6713](http://tools.ietf.org/html/rfc6713) or [IANA](http://www.iana.org/assignments/media-types/media-types.xhtml#application)
* | | | | Merge pull request #23654 from kamipo/fix_grammar_a_to_anJon Moss2016-02-136-6/+6
|\ \ \ \ \ | |/ / / / |/| | | | Fix grammar `a` to `an` [ci skip]
| * | | | Fix grammar `a` to `an` [ci skip]Ryuta Kamizono2016-02-136-6/+6
| | | | |
* | | | | add missing name option to flash test example [ci skip]yuuji.yaginuma2016-02-131-2/+2
|/ / / /
* | | | Use correct path in documentation.Tom von Schwerdtner2016-02-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | s/config\/production/config\/environments\/production/ [ci skip]
* | | | Merge pull request #23612 from vipulnsward/23561-fix-routes-argsKasper Timm Hansen2016-02-121-5/+5
|\ \ \ \ | | | | | | | | | | Fix argument passing to rake routes
| * | | | - Fixed and removed long arguments to rake routesVipul A M2016-02-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixed related documentation and usage all around Fixes #23561
* | | | | Fix numbers of steps to upgrade Rails [ci skip]Prathamesh Sonpatki2016-02-121-3/+3
| | | | |