aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-01-22 16:24:49 -0500
committerGitHub <noreply@github.com>2018-01-22 16:24:49 -0500
commitffdb06136152b3c5f7f4a93ca5928e16e755d228 (patch)
tree696969d5420a609f69c89d4d5df4584c0b8cf3a6 /guides
parent742c9ba92ac5aaa3adcbdc9bf708b1e578ce66f6 (diff)
parent4819b2a0ec84511a8fe87213b1e1befa21584a7c (diff)
downloadrails-ffdb06136152b3c5f7f4a93ca5928e16e755d228.tar.gz
rails-ffdb06136152b3c5f7f4a93ca5928e16e755d228.tar.bz2
rails-ffdb06136152b3c5f7f4a93ca5928e16e755d228.zip
Merge pull request #31763 from utilum/image_not_truncated
Update guide text not to contradict image
Diffstat (limited to 'guides')
-rw-r--r--guides/source/getting_started.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index b007baea87..e30909aa62 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -462,8 +462,7 @@ You're getting this error now because Rails expects plain actions like this one
to have views associated with them to display their information. With no view
available, Rails will raise an exception.
-In the above image, the bottom line has been truncated. Let's see what the full
-error message looks like:
+Let's look at the full error message looks again:
>ArticlesController#new is missing a template for this request format and variant. request.formats: ["text/html"] request.variant: [] NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not… nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.