aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/debugging_rails_applications.md
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2018-05-11 10:33:37 +0930
committerGitHub <noreply@github.com>2018-05-11 10:33:37 +0930
commit5ed8aa9e02014d7840e746f407068315d6fc6b63 (patch)
tree6bb7d09613c9f8df3ec5e8e6661d338fde1b3153 /guides/source/debugging_rails_applications.md
parent2161b78336bb9c2b169063c22af10485ff9a93e7 (diff)
parent258670244dae39616a50ec1116f52e91b6f0bc62 (diff)
downloadrails-5ed8aa9e02014d7840e746f407068315d6fc6b63.tar.gz
rails-5ed8aa9e02014d7840e746f407068315d6fc6b63.tar.bz2
rails-5ed8aa9e02014d7840e746f407068315d6fc6b63.zip
Merge pull request #32849 from anthonycrumley/oxford-commas
Added a lot of Oxford commas
Diffstat (limited to 'guides/source/debugging_rails_applications.md')
-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 07c78be3db..b7476a4ab2 100644
--- a/guides/source/debugging_rails_applications.md
+++ b/guides/source/debugging_rails_applications.md
@@ -147,7 +147,7 @@ TIP: The default Rails log level is `debug` in all environments.
### Sending Messages
-To write in the current log use the `logger.(debug|info|warn|error|fatal)` method from within a controller, model or mailer:
+To write in the current log use the `logger.(debug|info|warn|error|fatal)` method from within a controller, model, or mailer:
```ruby
logger.debug "Person attributes hash: #{@person.attributes.inspect}"
@@ -485,7 +485,7 @@ stack frames.
### Threads
-The debugger can list, stop, resume and switch between running threads by using
+The debugger can list, stop, resume, and switch between running threads by using
the `thread` command (or the abbreviated `th`). This command has a handful of
options:
@@ -777,7 +777,7 @@ deleted when that breakpoint is reached.
* `finish [n]`: execute until the selected stack frame returns. If no frame
number is given, the application will run until the currently selected frame
returns. The currently selected frame starts out the most-recent frame or 0 if
-no frame positioning (e.g up, down or frame) has been performed. If a frame
+no frame positioning (e.g up, down, or frame) has been performed. If a frame
number is given it will run until the specified frame returns.
### Editing
@@ -875,7 +875,7 @@ location of the `console` call; it won't be rendered on the spot of its
invocation but next to your HTML content.
The console executes pure Ruby code: You can define and instantiate
-custom classes, create new models and inspect variables.
+custom classes, create new models, and inspect variables.
NOTE: Only one console can be rendered per request. Otherwise `web-console`
will raise an error on the second `console` invocation.