diff options
author | Santosh Wadghule <santosh.wadghule@gmail.com> | 2015-06-01 11:08:46 +0530 |
---|---|---|
committer | Santosh Wadghule <santosh.wadghule@gmail.com> | 2015-06-01 14:04:19 +0530 |
commit | 11fecafcf2fc0193add7ba32428fa60b16ed4d2b (patch) | |
tree | 1ff646ef014a790c0df6dcc312203c774f2c24fa /actionpack/lib/action_dispatch/http | |
parent | efd3d20dd19e4fb1f5daa78a52ca83642953c92a (diff) | |
download | rails-11fecafcf2fc0193add7ba32428fa60b16ed4d2b.tar.gz rails-11fecafcf2fc0193add7ba32428fa60b16ed4d2b.tar.bz2 rails-11fecafcf2fc0193add7ba32428fa60b16ed4d2b.zip |
[ci skip] Used 'instance_variables' in example for consistency.
- Found that checking instance_variables elements using string object
gives us 'false' value.
`instance_variables.include? "@articles" # => false`
- Used only 'instance_variables' instead of using '.include?' on it. So
that it will return recent instance variables list.
Diffstat (limited to 'actionpack/lib/action_dispatch/http')
0 files changed, 0 insertions, 0 deletions