Skip to content

Commit 2fb658d

Browse files
authored
Merge pull request rails#30349 from ydakuka/patch-1
Update debugging rails applications guide [ci skip]
2 parents 39e6eea + df497cf commit 2fb658d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

guides/source/debugging_rails_applications.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ To see the previous ten lines you should type `list-` (or `l-`).
401401
7 byebug
402402
8 @articles = Article.find_recent
403403
9
404-
10 respond_to do |format|
404+
10 respond_to do |format|
405405
```
406406

407407
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).
540540
7 byebug
541541
8 @articles = Article.find_recent
542542
9
543-
=> 10 respond_to do |format|
544-
11 format.html # index.html.erb
545-
12 format.json { render json: @articles }
543+
=> 10 respond_to do |format|
544+
11 format.html # index.html.erb
545+
12 format.json { render json: @articles }
546546
13 end
547547
14 end
548548
15

0 commit comments

Comments
 (0)