aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/debugging_rails_applications.md
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2015-06-01 20:46:36 +0930
committerMatthew Draper <matthew@trebex.net>2015-06-01 20:46:36 +0930
commit6457fbfe3e68f92fa1662f1c5468b10364791fb5 (patch)
treee3773e773189f3d4d00083f98188d406b580166d /guides/source/debugging_rails_applications.md
parentc4cb751da695aa9d2cbe45adcf53afc3d268e4fa (diff)
parent11fecafcf2fc0193add7ba32428fa60b16ed4d2b (diff)
downloadrails-6457fbfe3e68f92fa1662f1c5468b10364791fb5.tar.gz
rails-6457fbfe3e68f92fa1662f1c5468b10364791fb5.tar.bz2
rails-6457fbfe3e68f92fa1662f1c5468b10364791fb5.zip
Merge pull request #20394 from mechanicles/use-sym
[ci skip] Used 'instance_variables' in example for consistency.
Diffstat (limited to 'guides/source/debugging_rails_applications.md')
-rw-r--r--guides/source/debugging_rails_applications.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md
index 96bf532868..dc1df8f229 100644
--- a/guides/source/debugging_rails_applications.md
+++ b/guides/source/debugging_rails_applications.md
@@ -531,8 +531,11 @@ command later in this guide).
And then ask again for the instance_variables:
```
-(byebug) instance_variables.include? "@articles"
-true
+(byebug) instance_variables
+[:@_action_has_layout, :@_routes, :@_headers, :@_status, :@_request,
+ :@_response, :@_env, :@_prefixes, :@_lookup_context, :@_action_name,
+ :@_response_body, :@marked_for_same_origin_verification, :@_config,
+ :@articles]
```
Now `@articles` is included in the instance variables, because the line defining it