aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/transaction_isolation_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2015-05-05 15:35:42 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-05-05 15:35:42 +0900
commit7bfc6ea1ef6963eeff39d1cdd4852a822371b528 (patch)
treecd13bb86555b9e769adc30d0c9a0888784950985 /activerecord/test/cases/transaction_isolation_test.rb
parent984a4db3c35af4cd0e2191775b00f850f95ae66c (diff)
downloadrails-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 'activerecord/test/cases/transaction_isolation_test.rb')
0 files changed, 0 insertions, 0 deletions