aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYauheni Dakuka <yauheni.dakuka@gmail.com>2017-08-21 21:49:26 +0300
committerYauheni Dakuka <yauheni.dakuka@gmail.com>2017-08-21 22:18:53 +0300
commitdf497cf08590c9451b6ac1cf6d6ee86e304c0adf (patch)
treebb13f5d90dbae5008bc70d4fbed04fe43d3893f7 /guides
parent39e6eea9e54c93f836d79f0614f463bdcf95bab5 (diff)
downloadrails-df497cf08590c9451b6ac1cf6d6ee86e304c0adf.tar.gz
rails-df497cf08590c9451b6ac1cf6d6ee86e304c0adf.tar.bz2
rails-df497cf08590c9451b6ac1cf6d6ee86e304c0adf.zip
Update debugging_rails_applications [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/debugging_rails_applications.md8
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