diff options
author | yui-knk <spiketeika@gmail.com> | 2017-07-14 21:53:12 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2017-09-05 18:18:29 +0900 |
commit | 530b5fea8f3e04c45a20ff3dcc8d473a6d25c1b4 (patch) | |
tree | 048b035c3d61232252cd4e2eb30078ede5c49a17 /actionpack/test/dispatch/test_request_test.rb | |
parent | c1f9fa8c69590222fac43d58bf64ef4a1225d7ce (diff) | |
download | rails-530b5fea8f3e04c45a20ff3dcc8d473a6d25c1b4.tar.gz rails-530b5fea8f3e04c45a20ff3dcc8d473a6d25c1b4.tar.bz2 rails-530b5fea8f3e04c45a20ff3dcc8d473a6d25c1b4.zip |
Do not pass an instance variable to a private method
`ActionView::Helpers::Tags::Base` has `@object` and
all passed arguments for
* `#value`
* `#value_before_type_cast`
* `#value_came_from_user?`
are `@object`, so we do not need to pass arguments in this case.
Diffstat (limited to 'actionpack/test/dispatch/test_request_test.rb')
0 files changed, 0 insertions, 0 deletions