diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-22 04:20:52 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 04:20:52 +0900 |
commit | 2fb658d1e39364926aebd09f264d395bd1863e56 (patch) | |
tree | bb13f5d90dbae5008bc70d4fbed04fe43d3893f7 /guides | |
parent | 39e6eea9e54c93f836d79f0614f463bdcf95bab5 (diff) | |
parent | df497cf08590c9451b6ac1cf6d6ee86e304c0adf (diff) | |
download | rails-2fb658d1e39364926aebd09f264d395bd1863e56.tar.gz rails-2fb658d1e39364926aebd09f264d395bd1863e56.tar.bz2 rails-2fb658d1e39364926aebd09f264d395bd1863e56.zip |
Merge pull request #30349 from ydakuka/patch-1
Update debugging rails applications guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/debugging_rails_applications.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md index 99bc7c5fb5..07c78be3db 100644 --- a/guides/source/debugging_rails_applications.md +++ b/guides/source/debugging_rails_applications.md @@ -401,7 +401,7 @@ To see the previous ten lines you should type `list-` (or `l-`). 7 byebug 8 @articles = Article.find_recent 9 - 10 respond_to do |format| + 10 respond_to do |format| ``` This way you can move inside the file and see the code above the line where you @@ -540,9 +540,9 @@ command later in this guide). 7 byebug 8 @articles = Article.find_recent 9 -=> 10 respond_to do |format| - 11 format.html # index.html.erb - 12 format.json { render json: @articles } +=> 10 respond_to do |format| + 11 format.html # index.html.erb + 12 format.json { render json: @articles } 13 end 14 end 15 |