diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2015-05-05 15:35:42 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-05-05 15:35:42 +0900 |
commit | 7bfc6ea1ef6963eeff39d1cdd4852a822371b528 (patch) | |
tree | cd13bb86555b9e769adc30d0c9a0888784950985 /actionview/test/template/resolver_patterns_test.rb | |
parent | 984a4db3c35af4cd0e2191775b00f850f95ae66c (diff) | |
download | rails-7bfc6ea1ef6963eeff39d1cdd4852a822371b528.tar.gz rails-7bfc6ea1ef6963eeff39d1cdd4852a822371b528.tar.bz2 rails-7bfc6ea1ef6963eeff39d1cdd4852a822371b528.zip |
Use `select_rows` instead of `select_one` in `select_value`
`select_one` create `ActiveRecord::Result` instance. It is better to use
`select_rows` instead of `select_one` for performance.
Diffstat (limited to 'actionview/test/template/resolver_patterns_test.rb')
0 files changed, 0 insertions, 0 deletions